mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avformat/dashenc: Dont ignore the codec tag from codec parameters
This commit is contained in:
parent
f72b9904fe
commit
444cdb422d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user