[SCM] libav/experimental: disabling buggy optimizations

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:44:05 UTC 2013


The following commit has been merged in the experimental branch:
commit 8aeadb903a8b0dcf69f607134a9a5b807ea43458
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed May 18 07:59:07 2005 +0000

    disabling buggy optimizations
    
    Originally committed as revision 4268 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 9e9939a..e3a1781 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1522,7 +1522,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb)
                 case MODE_GOLDEN_MV:
                     /* all 6 fragments use the same motion vector */
                     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_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)];
 #else
@@ -1554,7 +1554,7 @@ static int unpack_vectors(Vp3DecodeContext *s, GetBitContext *gb)
                     motion_x[4] = motion_y[4] = 0;
                     for (k = 0; k < 4; k++) {
                         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_y[0] = motion_vector_table[get_vlc2(gb, s->motion_vector_vlc.table, 6, 2)];
 #else

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list