From 936bb4a9bc4f170ac5b792e167a6b1fce81f301c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 17 May 2009 09:09:07 +0000 Subject: [PATCH] Add a forward declaration of mpeg1_decode_block_intra to fix compilation broken by r18859 for e.g. all gcc 4 compilers. Originally committed as revision 18861 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index c649948fab..021942a183 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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);