It was only needed to avoid a bad time base (and thus non-monotone timestamps)
for stream copy to avi.
---
libavformat/utils.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 2e38741..b0e33e1 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1977,9 +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_MP1 ||
- avctx->codec_id == CODEC_ID_MP2 ||
- avctx->codec_id == CODEC_ID_MP3 ||
avctx->codec_id == CODEC_ID_CELT))
return 0;
break;
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel