Mercurial > libavformat.hg
changeset 734:909942162fa3 libavformat
Put correct fourcc in tag field for amr_nb (samr) and amr_wb (sawb)
author | rtognimp |
---|---|
date | Sun, 24 Apr 2005 11:15:35 +0000 |
parents | ec09d6e383b4 |
children | 72f8690c3f37 |
files | amr.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/amr.c Wed Apr 20 09:42:47 2005 +0000 +++ b/amr.c Sun Apr 24 11:15:35 2005 +0000 @@ -101,7 +101,7 @@ } 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 @@ } 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;