[FFmpeg-devel] [PATCH] fix --disable-optimization compilation

Michael Niedermayer michaelni
Tue Oct 30 04:06:46 CET 2007


On Mon, Oct 29, 2007 at 11:43:14PM +0100, Aurelien Jacobs wrote:
> Hi,
> 
> Currently, compilation with no optimization fails because h264_parser.c
> includes cabac.h, which define a static function which uses
> last_coeff_flag_offset_8x8. This function is not optimized out, and
> the var is declared static in h264.c.
> The obvious solution is to make this var non-static.
> With the attached patch, compilation with --disable-optimization works
> for me with gcc-4.2 amd64.
> Patch OK ?

well i dunno
its ugly, the asm doesnt even belong in cabac.* but rather in i386/something


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071030/9e626f33/attachment.pgp>



More information about the ffmpeg-devel mailing list