Do not set audio codec_tag to 1, that would be PCM audio.
authorDiego Biurrun <diego@biurrun.de>
Sun, 5 Nov 2006 16:31:52 +0000 (16:31 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 5 Nov 2006 16:31:52 +0000 (16:31 +0000)
Originally committed as revision 6903 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/4xm.c

index 60d3cae..12e7d9e 100644 (file)
@@ -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;