[SCM] libav/experimental: Fixing a value returning issue

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:38:56 UTC 2013


The following commit has been merged in the experimental branch:
commit ce83d2bd37a175c2ab4280de9d0f03d734b1cd2d
Author: Roman Shaposhnik <roman at shaposhnik.org>
Date:   Fri Feb 20 02:00:44 2009 +0000

    Fixing a value returning issue
    
    Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 8576838..59ebb08 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -816,8 +816,9 @@ static av_always_inline int dv_guess_dct_mode(DVVideoContext *s, uint8_t *data,
                      s->ildct_cmp(NULL, data + linesize, NULL, linesize<<1, 4);
             return (ps > is);
         }
-    } else
-        return 0;
+    }
+
+    return 0;
 }
 
 static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, int linesize, DVVideoContext *s, int bias)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list