[FFmpeg-devel] [PATCH] mpeg12: fix non-standard use of "extern inline"

Michael Niedermayer michaelni
Sat May 16 20:30:08 CEST 2009


On Sat, May 16, 2009 at 07:11:49PM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > On Sat, May 16, 2009 at 02:16:28PM +0100, Mans Rullgard wrote:
> >> Rename ff_mpeg1_decode_block_intra to mpeg1_decode_block_intra and
> >> make it static.  Add ff_mpeg1_decode_block_intra as plain extern
> >> function calling mpeg1_decode_block_intra.
> >> ---
> >>  libavcodec/mpeg12.c |   11 +++++++++--
> >>  libavcodec/mpeg12.h |    2 +-
> >>  2 files changed, 10 insertions(+), 3 deletions(-)
> >
> > hmm, if this fixes a real bug with a real compiler then ok
> 
> IBM xlc chokes on the code as-is, and gcc emits warnings.

patch ok then

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- 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/20090516/f9700b32/attachment.pgp>



More information about the ffmpeg-devel mailing list