[MPlayer-users] MPlayer-1.0pre4 bug with divx4 multipass filter

Yang Yang yangyang at juggler.ucsd.edu
Sat Sep 11 00:31:30 CEST 2004


i ran mencoder with 
mencoder input.VOB -ovc divx4 -divx4opts pass=1:vbr=2    -vf
scale=600:400 -oac mp3lame  -o out.avi

......            pass=2:vbr=3  ......

then the first pass works ok
but the second pass gave a segfault,
gdb shows 
the bug happends at libmpcodes/vf.c:518 and libmpcodecs/ve_divx4.c:187

vf.c:vf->next->config() calls ve_divx4.c:config

while before entry, vf->next is 0x08cc9cb0, after entry, the parameter
obtained by config() is 0x2d0, apparently the compiler gave the wrong
number on stack to the callee,

an ispection by gdb shows the called function thinks eip and cs are both on
stack, and skips the word on esp+4( that is, the first parameter )
____wrongly____ as the cs, 



anybody got the same problem?? or where did I wrong?
thanks

Yang




More information about the MPlayer-users mailing list