diff options
author | Roberto Togni <r_togni@tiscali.it> | 2005-04-24 11:15:35 +0000 |
---|---|---|
committer | Roberto Togni <r_togni@tiscali.it> | 2005-04-24 11:15:35 +0000 |
commit | 93ccc14df57008117631e369ba2e846ef4950a16 (patch) | |
tree | 7bcaac68e00872d7605a52732c412880d3435d2e /libavformat/amr.c | |
parent | dfb706da4d6a154b78b880a20458a0023869db18 (diff) | |
download | ffmpeg-93ccc14df57008117631e369ba2e846ef4950a16.tar.gz |
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
Diffstat (limited to 'libavformat/amr.c')
-rw-r--r-- | libavformat/amr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 2a7f6d0bcb..21f41b7619 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -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; |