changeset 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 1fe22274393a
children 041c635d0f69
files mpeg12.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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);