summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-11-05 16:31:52 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-05 16:31:52 +0000
commit899af1a26aeac9bf3e924d6a49ad0ce6175adbec (patch)
tree3f2260a80276eba5bc9aa63207564c28308b8599
parentc9ec7564f0f37e0b672d1f61ee8175acd44c1b00 (diff)
Do not set audio codec_tag to 1, that would be PCM audio.
Originally committed as revision 6903 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/4xm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index 60d3cae971..12e7d9ee4e 100644
--- a/libavformat/4xm.c
+++ b/libavformat/4xm.c
@@ -188,7 +188,7 @@ static int fourxm_read_header(AVFormatContext *s,
fourxm->tracks[current_track].stream_index = st->index;
st->codec->codec_type = CODEC_TYPE_AUDIO;
- st->codec->codec_tag = 1;
+ st->codec->codec_tag = 0;
st->codec->channels = fourxm->tracks[current_track].channels;
st->codec->sample_rate = fourxm->tracks[current_track].sample_rate;
st->codec->bits_per_sample = fourxm->tracks[current_track].bits;