From dd36b6672258ba74d11cb3d594a19d74757567a4 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sun, 13 Nov 2005 17:48:27 +0000 Subject: [PATCH] fixed long standing off-by-one bug (fixes playback on ppc) Originally committed as revision 4702 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 9cff50e55d..8587087d52 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -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);