[MPlayer-dev-eng] [PATCH] crap removal from video.c

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Feb 10 13:23:50 CET 2007


RC wrote:
> On Fri, 09 Feb 2007 21:34:01 +0100
> Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
> 
> 
>>-#if 0
>>-    /* hack to support decoding of mpeg1 chunks in AVI's with
>>libmpeg2 -- 2002 alex */
> 
> 
> It would be nice to have a good fix for this one.  Right now, libmpeg2
> ignores aspect info for mpeg in AVI...  
> 
> But enabling this code caused some crashes with both libmpeg2 and
> ffmpeg12 (if the video starts with a duplicate frame).

of course: it's broken.
That detection can be made clean, although I don't understand why 
mpeg[12] in avi should be treated specially, why not for mpeg4 or 
h264, then?

Patch committed


-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users



More information about the MPlayer-dev-eng mailing list