diff asf-enc.c @ 1683:8b062c65fe0d libavformat

remove now useless codec_tag setting code in muxers
author michael
date Sun, 21 Jan 2007 12:44:58 +0000
parents 9240521ca4fd
children 22abad288650
line wrap: on
line diff
--- a/asf-enc.c	Sun Jan 21 12:43:29 2007 +0000
+++ b/asf-enc.c	Sun Jan 21 12:44:58 2007 +0000
@@ -459,15 +459,11 @@
         if (enc->codec_type == CODEC_TYPE_AUDIO) {
             put_le16(pb, 2);
             if(!enc->codec_tag)
-                enc->codec_tag = codec_get_tag(codec_wav_tags, enc->codec_id);
-            if(!enc->codec_tag)
                 return -1;
             put_le16(pb, enc->codec_tag);
         } else {
             put_le16(pb, 4);
             if(!enc->codec_tag)
-                enc->codec_tag = codec_get_tag(codec_bmp_tags, enc->codec_id);
-            if(!enc->codec_tag)
                 return -1;
             put_le32(pb, enc->codec_tag);
         }