[SCM] libav/experimental: compatible_frame array can be static const, too.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:50:48 UTC 2013


The following commit has been merged in the experimental branch:
commit b8791583e7695b2d9e98a601255313466a1a4113
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Sun Sep 6 08:27:23 2009 +0000

    compatible_frame array can be static const, too.
    
    Originally committed as revision 19779 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 5e541d0..2cbafa7 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1225,7 +1225,7 @@ static void reverse_dc_prediction(Vp3DecodeContext *s,
      * 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 */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list