[FFmpeg-cvslog] r18861 - trunk/libavcodec/mpeg12.c

reimar subversion
Sun May 17 11:09:07 CEST 2009


Author: reimar
Date: Sun May 17 11:09:07 2009
New Revision: 18861

Log:
Add a forward declaration of mpeg1_decode_block_intra to fix compilation
broken by r18859 for e.g. all gcc 4 compilers.

Modified:
   trunk/libavcodec/mpeg12.c

Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c	Sun May 17 08:53:24 2009	(r18860)
+++ trunk/libavcodec/mpeg12.c	Sun May 17 11:09:07 2009	(r18861)
@@ -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);



More information about the ffmpeg-cvslog mailing list