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

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

parent f72b9904
......@@ -247,7 +247,9 @@ static void set_codec_str(AVFormatContext *s, AVCodecParameters *par,
else
return;
tag = av_codec_get_tag(tags, par->codec_id);
tag = par->codec_tag;
if (!tag)
tag = av_codec_get_tag(tags, par->codec_id);
if (!tag)
return;
if (size < 5)
......
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