avcodec/dnxhddec: ignore second flag for encoded field
authorPaul B Mahol <onemda@gmail.com>
Wed, 25 Aug 2021 20:36:32 +0000 (22:36 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 25 Aug 2021 20:48:23 +0000 (22:48 +0200)
commit507fdcd1b09deed0cfd274d6afb284a99963168f
treeb13249c04b79e588e499bd12fa1dfafeb73efb68
parent2589060b92eeeb944c6e2b50e38412c0c5fabcf4
avcodec/dnxhddec: ignore second flag for encoded field

And instead use previous field flag.

Fixes decoding files produced by non-compliant encoders.
libavcodec/dnxhddec.c