avcodec/dnxhddec: treat pix_fmt like width/height
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 23:57:07 +0000 (00:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Dec 2014 03:40:34 +0000 (04:40 +0100)
commite43872c3a93c584a768643cfb85fc981f3cd4c44
tree6b8ee199542ba4a81db3485623e7f9177e3649a1
parent251d66d746ca543f12f4b0c284021d5c6b9aeb38
avcodec/dnxhddec: treat pix_fmt like width/height

Fixes out of array accesses
Fixes: asan_heap-oob_22c9a39_16_015.mxf
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f3c0e0bf6f53df0977f3878d4f5cec99dff8de9e)

Conflicts:

libavcodec/dnxhddec.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dnxhddec.c