avcodec/shorten: Check k in get_uint()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 16:28:09 +0000 (18:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 16:28:57 +0000 (18:28 +0200)
commit7b6a51f59c467ab9f4b73122dc269206fb517425
tree8060c0ec46fb72c86b9edb1ad7b10684611beecf
parent0884b1c5ffe07584984dadad29346c95c78fac19
avcodec/shorten: Check k in get_uint()

Fixes: undefined shift
Fixes: 1371/clusterfuzz-testcase-minimized-5770822591447040

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/shorten.c