Browse Source

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

tags/n4.1
Karthick Jeyapal 7 years ago
parent
commit
444cdb422d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavformat/dashenc.c

+ 3
- 1
libavformat/dashenc.c View File

@@ -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…
Cancel
Save