avcodec/h264_cabac: Check decode_cabac_mb_mvd() for failure
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 26 Jan 2016 01:23:31 +0000 (02:23 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Feb 2016 20:09:07 +0000 (21:09 +0100)
commite5655a32bc745462cb820f4ccc3eaee146dd2cdc
tree2108e64d306135d2a57392a943a20a372e3efd18
parentdcb6d5b831b32ade33d578ba593b1f65cb77191d
avcodec/h264_cabac: Check decode_cabac_mb_mvd() for failure

Fixes harmless integer overflow
Fixes Ticket5150

No speedloss measured, actually its slightly faster, but please benchmark & double check this

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_cabac.c