[FFmpeg-devel] [PATCH] move ff_mpeg1_decode_block_intra() to mpeg12.h

Diego Biurrun diego
Sat May 9 15:26:02 CEST 2009


$attached moves the inline function ff_mpeg1_decode_block_intra() to
mpeg12.h and makes it static.

This removes a bunch of warnings of the type

mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined
mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined

IIRC extern inline functions cause C99 vs. gcc troubles.  The library
size decreases slightly with my patch applied:

-rw-rw-r-- 1 diego diego 26905890 2009-05-09 15:23 libavcodec.vanilla/libavcodec.a
-rw-rw-r-- 1 diego diego 26897058 2009-05-09 15:16 libavcodec/libavcodec.a

Is this an acceptable solution?

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_mpeg1_decode_block_intra.diff
Type: text/x-diff
Size: 6032 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090509/127263c5/attachment.diff>



More information about the ffmpeg-devel mailing list