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, 2 Nov 2014 10:14:25 +0000 (11:14 +0100)
commit6e45a99a7cc485cb91e23b9760912b964cb1ef6c
tree4da2ec3582ba1f0eceadfff1306c5ec625cc5431
parentd59804bafbaf8ce4bb194f04a4692271a8f8f875
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