aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-11-06 13:36:40 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-11-06 13:36:40 +0100
commit0a60cc909ed5c2b0fb6f58d9ae0bfc44b00060bf (patch)
tree4e756b1cef8af782e4b47f614ba9766e2d555687 /libavformat
parentd68a557df4937b695a5f6a14877d92647be95aaa (diff)
downloadffmpeg-0a60cc909ed5c2b0fb6f58d9ae0bfc44b00060bf.tar.gz
lavf/amr: Do not set codec_tag for raw amr_nb and raw amr_wb.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/amr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c
index fffeb65f68..8b4d736d2f 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -210,7 +210,6 @@ static int amrnb_read_header(AVFormatContext *s)
AVStream *st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);
- st->codecpar->codec_tag = MKTAG('s', 'a', 'm', 'r');
st->codecpar->codec_id = AV_CODEC_ID_AMR_NB;
st->codecpar->sample_rate = 8000;
st->codecpar->channels = 1;
@@ -267,7 +266,6 @@ static int amrwb_read_header(AVFormatContext *s)
AVStream *st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);
- st->codecpar->codec_tag = MKTAG('s', 'a', 'w', 'b');
st->codecpar->codec_id = AV_CODEC_ID_AMR_WB;
st->codecpar->sample_rate = 16000;
st->codecpar->channels = 1;