aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-17 09:09:07 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-17 09:09:07 +0000
commit936bb4a9bc4f170ac5b792e167a6b1fce81f301c (patch)
treea206285e7d55f9069a264facd10153840c4d5938
parent9a7a71ed4c8a593e4b946d8a4ac16ce71306248f (diff)
downloadffmpeg-936bb4a9bc4f170ac5b792e167a6b1fce81f301c.tar.gz
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
-rw-r--r--libavcodec/mpeg12.c3
1 files changed, 3 insertions, 0 deletions
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);