[SCM] libav/experimental: Cosmetics: Make the two additional units in size more clear

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:29:47 UTC 2013


The following commit has been merged in the experimental branch:
commit c96a764c72c9916c5e993da7610d6da812d07b0a
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Mon Sep 8 18:13:53 2008 +0000

    Cosmetics: Make the two additional units in size more clear
    
    Originally committed as revision 15266 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 2918902..f86e0bf 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -48,7 +48,7 @@ typedef struct {
 
     /** adaptive codebook. Its size is two units bigger to avoid a
      *  buffer overflow */
-    uint16_t adapt_cb[148];
+    uint16_t adapt_cb[146+2];
 } RA144Context;
 
 static int ra144_decode_init(AVCodecContext * avctx)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list