diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-01 01:45:28 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-02 00:28:05 +0200 |
commit | c61114834018336d39ea4efee705f3dd973f4d15 (patch) | |
tree | 7f4ed761f1f7a8ad2e92418ef55ba376a6c91c23 /libavcodec/vc1dec.c | |
parent | f1c4a54f6ecbf77a29aaaee09ca70c5468d0c509 (diff) | |
download | ffmpeg-c61114834018336d39ea4efee705f3dd973f4d15.tar.gz |
vc1dec: fix a possible unitialized variable warning
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index e6bbe58aff..d697b8c13d 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1868,7 +1868,8 @@ static inline void vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y, } else if (c_valid) { px = C[0]; py = C[1]; - } + } else + px = py = 0; } } else if (total_valid == 1) { px = (a_valid) ? A[0] : ((b_valid) ? B[0] : C[0]); |