git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hdsenc: Clear the previous codec tag when setting up the chained muxer
[ffmpeg.git]
/
libavformat
/
hdsenc.c
diff --git
a/libavformat/hdsenc.c
b/libavformat/hdsenc.c
index
012de60
..
d96a3d5
100644
(file)
--- a/
libavformat/hdsenc.c
+++ b/
libavformat/hdsenc.c
@@
-395,6
+395,7
@@
static int hds_write_header(AVFormatContext *s)
goto fail;
}
avcodec_copy_context(st->codec, s->streams[i]->codec);
+ st->codec->codec_tag = 0;
st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
st->time_base = s->streams[i]->time_base;
}