summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-28 16:07:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-10-28 16:11:14 +0100
commitd8246d475cded6dfaaaa519f5d194b1cc9e6ea57 (patch)
tree37e459b84d900cb50861cfb480a27f0c849ccaa1 /libavcodec
parent07ed191b15fbf2ad396b6a7c1024410553d63a58 (diff)
vc1dec: mark by assert that the default path cannot occur
Fixes CID703827, CID703828 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index fde1dda994..1e78f385f8 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -602,6 +602,8 @@ static void vc1_mc_4mv_luma(VC1Context *v, int n, int dir)
tx = (chosen_mv[f][0][0] + chosen_mv[f][1][0]) / 2;
ty = (chosen_mv[f][0][1] + chosen_mv[f][1][1]) / 2;
break;
+ default:
+ av_assert2(0);
}
s->current_picture.f.motion_val[1][s->block_index[0] + v->blocks_off][0] = tx;
s->current_picture.f.motion_val[1][s->block_index[0] + v->blocks_off][1] = ty;