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>
Thu, 19 Mar 2015 22:28:39 +0000 (23:28 +0100)
commit2c660e34cf3c2b77cd2bef6f292920334dfd9192
tree95b20eeac55907dcfe7a12b4fcd2e510aee92028
parentbbcc09518e0d1efc189a43ff0120c1a31f51c802
avcodec/dnxhddec: Check that the frame is interlaced before using cur_field

Fixes Ticket4227

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