fixed long standing off-by-one bug (fixes playback on ppc)

Originally committed as revision 4702 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Alex Beregszaszi 19 years ago
parent 2b18752c28
commit dd36b66722
  1. 2
      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);

Loading…
Cancel
Save