[EMAIL PROTECTED] wrote:
----------------------------------------------------------------------------
Changes committed by ijr on Sun May 22 05:32:14 2005
...
Modified Files:
   in mythtv:
configure in mythtv/libs/libavcodec:
...
mpegaudiodec.c mpegvideo.c mpegvideo.h msmpeg4.c oggvorbis.c
...
Log Message:
Bigass ffmpeg resync.  Hopefully doesn't cause any problems..

It did but as I started looking at the code it was all too familiar =).
"qmin" should always be 1 but passing "avctx->qmin" as an arg could be 0 causing a divide by zero.
--  bjm

2005-05-23 12:08:08.232 MainServer::HandleAnnounce Playback
2005-05-23 12:08:08.233 adding: nordtv as a client (events: 0)
2005-05-23 12:08:08.239 adding: nordtv as a remote ringbuffer
2005-05-23 12:08:08.248 Changing from None to WatchingLiveTV
[New Thread -1369363536 (LWP 12667)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1369363536 (LWP 12667)]
0xb6835ad0 in __udivdi3 () from /lib/libgcc_s.so.1
(gdb) thread apply all bt full

Thread 14 (Thread -1369363536 (LWP 12667)):
#0  0xb6835ad0 in __udivdi3 () from /lib/libgcc_s.so.1
No symbol table info available.
#1  0xb76b7766 in convert_matrix (dsp=0x843a3f8, qmat=0x8443840, 
qmat16=0x8447890,
   quant_matrix=0x843aea0, bias=0, qmin=0, qmax=31, intra=1) at mpegvideo.c:157
       j = 0
       i = 0
       qscale = 0
       shift = 0
#2  0xb76ba4ba in MPV_encode_init (avctx=0x82c5190) at mpegvideo.c:1300
       s = (MpegEncContext *) 0x8439bd0
       i = 138650616
       chroma_h_shift = 1
       chroma_v_shift = 1
#3  0xb76b5a77 in avcodec_open (avctx=0x82c5190, codec=0x0) at utils.c:551
       ret = 137122192
#4  0xb7de30ca in NuppelVideoRecorder::SetupAVCodec (this=0xaf90b008)
   at NuppelVideoRecorder.cpp:521
       usebitrate = 4062500
#5  0xb7de7072 in NuppelVideoRecorder::StartRecording (this=0xaf90b008)
   at NuppelVideoRecorder.cpp:959
       vc = {name = '\0' <repeats 31 times>, type = 136340136, channels = 0,
 audios = 0, maxwidth = 0, maxheight = 0, minwidth = 0, minheight = 0}
---Type <return> to continue, or q <return> to quit---
       mm = {frame = 0, height = 0, width = 0, format = 0}
       vm = {size = 0, frames = 0, offsets = {0 <repeats 32 times>}}
       vchan = {channel = 0, name = '\0' <repeats 31 times>, tuners = 0, flags 
= 0,
 type = 0, norm = 0}
       va = {audio = 0, volume = 0, bass = 0, treble = 0, flags = 0,
 name = '\0' <repeats 15 times>, mode = 0, balance = 0, step = 0}
       vt = {tuner = 0, name = '\0' <repeats 31 times>, rangelow = 0, rangehigh 
= 0,
 flags = 0, mode = 0, signal = 0}
       channelinput = 0
       frame = 0
       buf = (unsigned char *) 0x0
       syncerrors = 0
#6  0xb7df7c2e in SpawnEncode (param=0xaf90b008) at tv_rec.cpp:48
       nvr = (class RecorderBase *) 0xaf90b008
#7  0xb691cb63 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0xb67d618a in clone () from /lib/tls/libc.so.6
No symbol table info available.
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to