diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2009-02-20 02:00:44 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2009-02-20 02:00:44 +0000 |
commit | ce83d2bd37a175c2ab4280de9d0f03d734b1cd2d (patch) | |
tree | c426eff11dee4f399facaa7924817107bbab25c6 /libavcodec | |
parent | b1fa4942056e8f09b5d19d913f7353245875b7a9 (diff) | |
download | ffmpeg-ce83d2bd37a175c2ab4280de9d0f03d734b1cd2d.tar.gz |
Fixing a value returning issue
Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 8576838b7a..59ebb088e6 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) |