projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f72b990
)
avformat/dashenc: Dont ignore the codec tag from codec parameters
author
Karthick Jeyapal
<kjeyapal@akamai.com>
Wed, 10 Oct 2018 07:20:20 +0000
(12:50 +0530)
committer
Karthick Jeyapal
<kjeyapal@akamai.com>
Thu, 18 Oct 2018 05:26:05 +0000
(10:56 +0530)
libavformat/dashenc.c
patch
|
blob
|
history
diff --git
a/libavformat/dashenc.c
b/libavformat/dashenc.c
index 26a4dcea60f1fbc7f795bd6a67d6f1a250a0e918..3f5f290e255f501a429f8b0848ede75b1488b150 100644
(file)
--- a/
libavformat/dashenc.c
+++ b/
libavformat/dashenc.c
@@
-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)