This is a patch for the bug filed here...
https://trac.ffmpeg.org/ticket/5092
as described in the bug report the current code is designed against the SMPTE
314M spec, which only applies to SD content. In the SMPTE 370M spec they have
flipped the meaning of "field 1" and "field 2" so the bits
I think this line in mpegaudio_parser.c is wrong
int header_threshold = avctx-codec_id != AV_CODEC_ID_NONE avctx-codec_id
!= codec_id;
I believe it should be...
int header_threshold = avctx-codec_id != AV_CODEC_ID_NONE avctx-codec_id
== codec_id;
I believe the intention of the line is