[MPlayer-dev-eng] [BUG] things go unchecked in vf_expand.c
Gabucino
gabucino at mplayerhq.hu
Mon Dec 16 17:41:54 CET 2002
MEncoder CVS-021216-17:26-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Reading /home/gabucino/.mplayer/codecs.conf: 49 audio & 124 video codecs
File not found: 'frameno.avi'
Reading config file /home/gabucino/.mplayer/mencoder: No such file or directory
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 0 data: 0x0 - 0x0
forced mf.
[demuxer] mf support.
[mf] search expr: *jpg
[mf] number of files: 1 (4)
[V] filefmt:16 fourcc:0x47504A49 size:352x288 fps:25.00 ftime:=0.0400
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Writing AVI header...
mjpeg: JFIF header found (version: 2.1)
mjpeg: Adobe header found
mjpeg: unsupported coding type (c2)
VDec: codec didn't set sh->disp_w and sh->disp_h, trying to workaround!
VDec: vo config request - 0 x 0 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1024 (LWP 4552)]
0x08093cd1 in config (vf=0x833a968, width=0, height=0, d_width=0, d_height=0,
flags=0, outfmt=842094169) at vf_expand.c:173
173 d_width=d_width*vf->priv->exp_w/width;
(gdb) bt
#0 0x08093cd1 in config (vf=0x833a968, width=0, height=0, d_width=0,
d_height=0, flags=0, outfmt=842094169) at vf_expand.c:173
#1 0x08087697 in mpcodecs_config_vo (sh=0x8339448, w=0, h=0,
preferred_outfmt=842094169) at vd.c:287
#2 0x0808f4c9 in init_vo (sh=0x8339448) at vd_ffmpeg.c:357
#3 0x0808fcaa in decode (sh=0x8339448, data=0x405d1008, len=155303, flags=0)
at vd_ffmpeg.c:595
#4 0x08086fc6 in decode_video (sh_video=0x8339448, start=0x405d1008 "˙Ř˙ŕ",
in_size=155303, drop_frame=0) at dec_video.c:306
#5 0x08063462 in main (argc=8, argv=0xbffffac4) at mencoder.c:1056
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x8093cb1 to 0x8093cf1:
0x8093cb1 <config+169>: add %al,(%eax)
0x8093cb3 <config+171>: cmpl $0x0,0x82776e8
0x8093cba <config+178>: jne 0x8093ce3 <config+219>
0x8093cbc <config+180>: cmpl $0x0,0x82776ec
0x8093cc3 <config+187>: jne 0x8093ce3 <config+219>
0x8093cc5 <config+189>: mov 0x40(%edi),%ecx
0x8093cc8 <config+192>: mov 0x14(%ebp),%edx
0x8093ccb <config+195>: imul (%ecx),%edx
0x8093cce <config+198>: mov %edx,%eax
0x8093cd0 <config+200>: cltd
0x8093cd1 <config+201>: idiv %ebx
0x8093cd3 <config+203>: mov %eax,0x14(%ebp)
0x8093cd6 <config+206>: mov 0x18(%ebp),%eax
0x8093cd9 <config+209>: imul 0x4(%ecx),%eax
0x8093cdd <config+213>: cltd
0x8093cde <config+214>: idiv %esi
0x8093ce0 <config+216>: mov %eax,0x18(%ebp)
0x8093ce3 <config+219>: mov 0x20(%ebp),%ecx
0x8093ce6 <config+222>: add $0xfffffffc,%esp
0x8093ce9 <config+225>: push %ecx
0x8093cea <config+226>: mov 0x1c(%ebp),%eax
0x8093ced <config+229>: push %eax
0x8093cee <config+230>: mov 0x18(%ebp),%eax
End of assembler dump.
--
Gabucino
MPlayer Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021216/76da1fb7/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list