[FFmpeg-devel] [PATCH 0.5/5] lavf: Remove codec_tag from dashend and smoothstreamingenc

Derek Buitenhuis derek.buitenhuis at gmail.com
Sat Jul 1 18:22:21 EEST 2017


From: Martin Storsjö <martin at martin.st>

Skip the codec_tag altogether here, to let the user (try to) set
whichever codec/tag he wants; the individual chained muxer will
reject invalid codecs anyway.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
 libavformat/dashenc.c            | 1 -
 libavformat/smoothstreamingenc.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 0f234bb..bdb332c 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1089,7 +1089,6 @@ AVOutputFormat ff_dash_muxer = {
     .write_packet   = dash_write_packet,
     .write_trailer  = dash_write_trailer,
     .deinit         = dash_free,
-    .codec_tag      = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 },
     .check_bitstream = dash_check_bitstream,
     .priv_class     = &dash_class,
 };
diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c
index dabd1ea..083af49 100644
--- a/libavformat/smoothstreamingenc.c
+++ b/libavformat/smoothstreamingenc.c
@@ -647,6 +647,5 @@ AVOutputFormat ff_smoothstreaming_muxer = {
     .write_header   = ism_write_header,
     .write_packet   = ism_write_packet,
     .write_trailer  = ism_write_trailer,
-    .codec_tag      = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 },
     .priv_class     = &ism_class,
 };
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list