h263: Check init_get_bits return value
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Oct 2013 17:02:34 +0000 (19:02 +0200)
committerSean McGovern <gseanmcg@gmail.com>
Sat, 1 Feb 2014 19:59:50 +0000 (14:59 -0500)
commitd9c82cea11cef662fda21fccbe1a1f62c1689952
treeaa79fac29bcd1a7cfb7e6adc411fb3f18a68c601
parent969028870c6f5a2ed953bfca8cb68c24ffd9c824
h263: Check init_get_bits return value

And use init_get_bits8 to check for integer overflows while at it.

CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/h263dec.c