# HG changeset patch # User reimar # Date 1242551347 0 # Node ID 34be4ff863023fcea82921ae4af94dc302807ef6 # Parent 1fe22274393a731e5c5529b851cc48967f75057e Add a forward declaration of mpeg1_decode_block_intra to fix compilation broken by r18859 for e.g. all gcc 4 compilers. diff -r 1fe22274393a -r 34be4ff86302 mpeg12.c --- a/mpeg12.c Sun May 17 06:53:24 2009 +0000 +++ b/mpeg12.c Sun May 17 09:09:07 2009 +0000 @@ -49,6 +49,9 @@ #define MB_PTYPE_VLC_BITS 6 #define MB_BTYPE_VLC_BITS 6 +static inline int mpeg1_decode_block_intra(MpegEncContext *s, + DCTELEM *block, + int n); static inline int mpeg1_decode_block_inter(MpegEncContext *s, DCTELEM *block, int n);