changeset 8990:cc8f95accbff libavcodec

Fixing a value returning issue
author romansh
date Fri, 20 Feb 2009 02:00:44 +0000
parents cdd8fa4a362a
children ca768cb2bfb6
files dv.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Thu Feb 19 23:35:59 2009 +0000
+++ b/dv.c	Fri Feb 20 02:00:44 2009 +0000
@@ -816,8 +816,9 @@
                      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)