avcodec/dnxhddec: Move mb height check out of non hr branch
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Jul 2017 01:26:59 +0000 (03:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jul 2017 01:07:12 +0000 (03:07 +0200)
commit296debd213bd6dce7647cedd34eb64e5b94cdc92
treea48cf28a992bfcbaa94617e64cec3deee59caddb
parent133dafe24fc7167b049bb14fb5ec2d199d8cddcc
avcodec/dnxhddec: Move mb height check out of non hr branch

Fixes: out of array access
Fixes: poc.dnxhd

Found-by: Bingchang, Liu@VARAS of IIE
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddec.c