Commit 444cdb42 authored by Karthick Jeyapal's avatar Karthick Jeyapal

avformat/dashenc: Dont ignore the codec tag from codec parameters

parent f72b9904
...@@ -247,6 +247,8 @@ static void set_codec_str(AVFormatContext *s, AVCodecParameters *par, ...@@ -247,6 +247,8 @@ static void set_codec_str(AVFormatContext *s, AVCodecParameters *par,
else else
return; return;
tag = par->codec_tag;
if (!tag)
tag = av_codec_get_tag(tags, par->codec_id); tag = av_codec_get_tag(tags, par->codec_id);
if (!tag) if (!tag)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment