remove unneeded audio fourcc as well
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 2 Aug 2006 10:37:10 +0000 (10:37 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 2 Aug 2006 10:37:10 +0000 (10:37 +0000)
Originally committed as revision 5889 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/gxf.c

index 26c3fc1..3cfce38 100644 (file)
@@ -137,7 +137,6 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
         case 9:
             st->codec->codec_type = CODEC_TYPE_AUDIO;
             st->codec->codec_id = CODEC_ID_PCM_S24LE;
-            st->codec->codec_tag = 0x1;
             st->codec->channels = 1;
             st->codec->sample_rate = 48000;
             st->codec->bit_rate = 3 * 1 * 48000 * 8;
@@ -147,7 +146,6 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
         case 10:
             st->codec->codec_type = CODEC_TYPE_AUDIO;
             st->codec->codec_id = CODEC_ID_PCM_S16LE;
-            st->codec->codec_tag = 0x1;
             st->codec->channels = 1;
             st->codec->sample_rate = 48000;
             st->codec->bit_rate = 2 * 1 * 48000 * 8;
@@ -157,7 +155,6 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
         case 17:
             st->codec->codec_type = CODEC_TYPE_AUDIO;
             st->codec->codec_id = CODEC_ID_AC3;
-            st->codec->codec_tag = 0x2000;
             st->codec->channels = 2;
             st->codec->sample_rate = 48000;
             break;