[MPlayer-dev-eng] [PATCH] compilers "optimizing" pe_image too much

rcooley rcooley at spamcop.net
Fri Sep 17 00:32:27 CEST 2004


On Thu, 16 Sep 2004 21:58:52 +0200
Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Could someone test compilation on gcc 2.95 and other compilers? I tend
> to put those attributes always at the wrong place...

Compiled with "gcc version 2.95.3 20010315 (release)".  I quickly tested
it on quite a few different videos.  VP3/4/6, MPEG-2/4.  

Same minor complier warning Torinthiel reported:

In file included from pe_image.c:56:
wine/debugtools.h:67: warning: useless keyword or type name in empty
declaration wine/debugtools.h:67: warning: empty declaration
pe_image.c:900: warning: `noinline' attribute directive ignored


In the process of testing, I found a gcc-2 specific bug in mplayer :-)
Seems it has to do with mkv and (undefined) aspect ratios:

Movie-Aspect is nan:1 - prescaling to correct movie aspect.
VO: invalid dimensions!
FATAL: Cannot initialize video driver.




More information about the MPlayer-dev-eng mailing list