Commit 28597cf7 authored by rtognimp's avatar rtognimp

Put correct fourcc in tag field for amr_nb (samr) and amr_wb (sawb)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4152 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fe9c8f22
...@@ -101,7 +101,7 @@ static int amr_read_header(AVFormatContext *s, ...@@ -101,7 +101,7 @@ static int amr_read_header(AVFormatContext *s,
} }
st->codec.codec_type = CODEC_TYPE_AUDIO; st->codec.codec_type = CODEC_TYPE_AUDIO;
st->codec.codec_tag = CODEC_ID_AMR_WB; st->codec.codec_tag = MKTAG('s', 'a', 'w', 'b');
st->codec.codec_id = CODEC_ID_AMR_WB; st->codec.codec_id = CODEC_ID_AMR_WB;
st->codec.channels = 1; st->codec.channels = 1;
st->codec.sample_rate = 16000; st->codec.sample_rate = 16000;
...@@ -115,7 +115,7 @@ static int amr_read_header(AVFormatContext *s, ...@@ -115,7 +115,7 @@ static int amr_read_header(AVFormatContext *s,
} }
st->codec.codec_type = CODEC_TYPE_AUDIO; st->codec.codec_type = CODEC_TYPE_AUDIO;
st->codec.codec_tag = CODEC_ID_AMR_NB; st->codec.codec_tag = MKTAG('s', 'a', 'm', 'r');
st->codec.codec_id = CODEC_ID_AMR_NB; st->codec.codec_id = CODEC_ID_AMR_NB;
st->codec.channels = 1; st->codec.channels = 1;
st->codec.sample_rate = 8000; st->codec.sample_rate = 8000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment