OSDN Git Service

Fixing a value returning issue
authorRoman Shaposhnik <roman@shaposhnik.org>
Fri, 20 Feb 2009 02:00:44 +0000 (02:00 +0000)
committerRoman Shaposhnik <roman@shaposhnik.org>
Fri, 20 Feb 2009 02:00:44 +0000 (02:00 +0000)
Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dv.c

index 8576838..59ebb08 100644 (file)
@@ -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)