Mercurial > libavcodec.hg
diff mpeg12.c @ 9662:34be4ff86302 libavcodec
Add a forward declaration of mpeg1_decode_block_intra to fix compilation
broken by r18859 for e.g. all gcc 4 compilers.
author | reimar |
---|---|
date | Sun, 17 May 2009 09:09:07 +0000 |
parents | 6d75bcdeaa30 |
children | 017967b3067f |
line wrap: on
line diff
--- 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);