Re: [FFmpeg-devel] Error in mpegaudio_parser.c

2015-04-07 Thread Michael Niedermayer
On Mon, Apr 06, 2015 at 03:58:59PM -0700, Dan Haddix wrote: > 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_CODE

[FFmpeg-devel] Error in mpegaudio_parser.c

2015-04-06 Thread Dan Haddix
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 l