[MPlayer-dev-eng] gcc 2.95 compiler bug

D Richard Felker III dalias at aerifal.cx
Sat Nov 13 16:50:08 CET 2004


On Sat, Nov 13, 2004 at 01:10:58PM +0100, Diego Biurrun wrote:
> Hi!
> 
> Looks like our beloved icon of free software compiler technology is
> getting blemishes ;-)
> 
> I'm 99% positive I identified a compiler bug in gcc 2.95.3/4 related
> to H.261 support.  When I play one of the samples from
> 
> http://mplayerhq.hu/MPlayer/samples/h261-raw/
> 
> I get something like the following output (qcifhall28.p64):
> 
> Starting playback...
> [h261 @ 0x85ca79c]Bad picture start code
> [h261 @ 0x85ca79c]header damaged
> Error while decoding frame!
> [h261 @ 0x85ca79c]warning: first frame is no keyframe
> [ffmpeg] aspect_ratio: 0.000000
> VDec: vo config request - 176 x 144 (preferred csp: Planar YV12)
> Trying filter chain: vo
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is nan:1 - prescaling to correct movie aspect.
                  ^^^^^

no, it's not a compiler bug. it's just that uninitialized data happens
to have different shit in it depending on the compiler version. fix
the demuxer to set aspect rather than leaving it uninitialized...

rich




More information about the MPlayer-dev-eng mailing list