Browse Source

disabling buggy optimizations

Originally committed as revision 4268 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
8aeadb903a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/vp3.c

+ 2
- 2
libavcodec/vp3.c View File

@@ -1522,7 +1522,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb)
case MODE_GOLDEN_MV: case MODE_GOLDEN_MV:
/* all 6 fragments use the same motion vector */ /* all 6 fragments use the same motion vector */
if (coding_mode == 0) { if (coding_mode == 0) {
#if 1
#if 0
motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)];
motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)];
#else #else
@@ -1554,7 +1554,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb)
motion_x[4] = motion_y[4] = 0; motion_x[4] = motion_y[4] = 0;
for (k = 0; k < 4; k++) { for (k = 0; k < 4; k++) {
if (coding_mode == 0) { if (coding_mode == 0) {
#if 1
#if 0
motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; motion_x[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)];
motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)]; motion_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)];
#else #else


Loading…
Cancel
Save