[FFmpeg-devel] [PATCH] libavcodec/dnxhdenc: remove setting the codec_tag

Mark Reid mindmark at gmail.com
Thu Aug 4 00:31:04 EEST 2016


setting the codec_tag no longer needed by movenc
it uses the dnxhr profile instead
---
 libavcodec/dnxhdenc.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index b0ee8a2..cbf4cd5 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -341,9 +341,6 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
     }
     av_log(avctx, AV_LOG_DEBUG, "cid %d\n", ctx->cid);
 
-    if (ctx->cid >= 1270 && ctx->cid <= 1274)
-        avctx->codec_tag = MKTAG('A','V','d','h');
-
     if (avctx->width < 256 || avctx->height < 120) {
         av_log(avctx, AV_LOG_ERROR,
                "Input dimensions too small, input must be at least 256x120\n");
-- 
2.9.2



More information about the ffmpeg-devel mailing list