fixed long standing off-by-one bug (fixes playback on ppc)
authorAlex Beregszaszi <alex@rtfs.hu>
Sun, 13 Nov 2005 17:48:27 +0000 (17:48 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Sun, 13 Nov 2005 17:48:27 +0000 (17:48 +0000)
Originally committed as revision 4702 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp3.c

index 9cff50e..8587087 100644 (file)
@@ -2363,7 +2363,7 @@ static int vp3_decode_init(AVCodecContext *avctx)
         &superblock_run_length_vlc_table[0][1], 4, 2,
         &superblock_run_length_vlc_table[0][0], 4, 2, 0);
 
-    init_vlc(&s->fragment_run_length_vlc, 5, 31,
+    init_vlc(&s->fragment_run_length_vlc, 5, 30,
         &fragment_run_length_vlc_table[0][1], 4, 2,
         &fragment_run_length_vlc_table[0][0], 4, 2, 0);