1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Originally committed as revision 4152 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Roberto Togni 2005-04-24 11:15:35 +00:00
parent dfb706da4d
commit 93ccc14df5

View File

@ -101,7 +101,7 @@ static int amr_read_header(AVFormatContext *s,
}
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.channels = 1;
st->codec.sample_rate = 16000;
@ -115,7 +115,7 @@ static int amr_read_header(AVFormatContext *s,
}
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.channels = 1;
st->codec.sample_rate = 8000;