aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-27 13:34:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-10-27 13:34:35 +0100
commit2c7c2a53b9423e60e345933f4c8e60802dc66590 (patch)
tree7fa5c41e0e738e5053b4d6297ff938f454e7aa20 /libavcodec
parent7eda2e524b8e2b645e0c62ccbe819594c03824cd (diff)
downloadffmpeg-2c7c2a53b9423e60e345933f4c8e60802dc66590.tar.gz
vcodec/vc1dec: remove dead code
Fixes CID732196 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index bfbbc6aed7..682a9d2000 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -1815,8 +1815,7 @@ static inline void vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
} else if (total_valid) {
if (a_valid) { px = A[0]; py = A[1]; }
else if (b_valid) { px = B[0]; py = B[1]; }
- else if (c_valid) { px = C[0]; py = C[1]; }
- else av_assert2(0);
+ else { px = C[0]; py = C[1]; }
}
}
} else {