[MPlayer-dev-eng] problems with avi file demuxer?

D Richard Felker III dalias at aerifal.cx
Sun Feb 10 00:10:57 CET 2002


i just tried to implement seeking in mencoder (to allow encoding to
start somewhere other than the beginning of the file) based very
loosely on the awful "modific" patch a while back, but without all the
bad changes. however, i encountered a problem that didn't occur in
"modific" -- mencoder segfaults when trying to framecopy audio from an
avi file. i traced the problem to a change in libmpdemux/demux_avi.c:
a recently uncommented call to resync_audio_stream(sh_audio);

is this call absolutely necessary, and if so, can someone familiar
with it take a look and try to figure out what's wrong with it? i'm
attaching a patch (which also comments out that line in the demuxer)
to assist in debugging. let me know if you find a solution to this
issue -- i'll wait to commit the patch til then.

thanks,

rich






More information about the MPlayer-dev-eng mailing list