avcodec/dnxhddec: Check that the frame is interlaced before using cur_field
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Mar 2015 22:28:39 +0000 (23:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Mar 2015 00:52:53 +0000 (01:52 +0100)
commit61dbd3f3d09a6b569c41946a4c07dac0f21d413a
tree83f597f7caebe37b82661570c03fdad640d0bac0
parent38d6ff31b7a5556731ace24fdc41cbc7b9f536e3
avcodec/dnxhddec: Check that the frame is interlaced before using cur_field

Fixes Ticket4227

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2c660e34cf3c2b77cd2bef6f292920334dfd9192)

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