Browse Source

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
tags/v0.5
Roberto Togni 21 years ago
parent
commit
93ccc14df5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/amr.c

+ 2
- 2
libavformat/amr.c 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;


Loading…
Cancel
Save