avformat/dashenc: Dont ignore the codec tag from codec parameters
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user