We already will get the needed info because of CODEC_CAP_CHANNEL_CONF
---
libavformat/utils.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 756249f..2e38741 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1977,7 +1977,6 @@ static int has_codec_parameters(AVCodecContext *avctx)
case AVMEDIA_TYPE_AUDIO:
val = avctx->sample_rate && avctx->channels && avctx->sample_fmt !=
AV_SAMPLE_FMT_NONE;
if (!avctx->frame_size &&
- (avctx->codec_id == CODEC_ID_AAC ||
avctx->codec_id == CODEC_ID_MP1 ||
avctx->codec_id == CODEC_ID_MP2 ||
avctx->codec_id == CODEC_ID_MP3 ||
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel