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:11:19 +0000 (03:11 +0200)
commit47c0626ec721749b28df1c61c481e318e50058e4
treed93dd5b2f3a63d8657c7373102de56cd7babf7a6
parent2f75ebe24a775b00236f34a083a806f60e162c57
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>
(cherry picked from commit 296debd213bd6dce7647cedd34eb64e5b94cdc92)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddec.c