[FFmpeg-cvslog] r19779 - trunk/libavcodec/vp3.c

reimar subversion
Sun Sep 6 10:27:24 CEST 2009


Author: reimar
Date: Sun Sep  6 10:27:23 2009
New Revision: 19779

Log:
compatible_frame array can be static const, too.

Modified:
   trunk/libavcodec/vp3.c

Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c	Sun Sep  6 10:16:26 2009	(r19778)
+++ trunk/libavcodec/vp3.c	Sun Sep  6 10:27:23 2009	(r19779)
@@ -1225,7 +1225,7 @@ static void reverse_dc_prediction(Vp3Dec
      * from other INTRA blocks. There are 2 golden frame coding types;
      * blocks encoding in these modes can only predict from other blocks
      * that were encoded with these 1 of these 2 modes. */
-    unsigned char compatible_frame[8] = {
+    static const unsigned char compatible_frame[8] = {
         1,    /* MODE_INTER_NO_MV */
         0,    /* MODE_INTRA */
         1,    /* MODE_INTER_PLUS_MV */



More information about the ffmpeg-cvslog mailing list