Mercurial > libavformat.hg
diff riff.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 | ba58d49d4685 |
children | 67e4f8b8f2df |
line wrap: on
line diff
--- a/riff.c Sun Jan 21 12:43:29 2007 +0000 +++ b/riff.c Sun Jan 21 12:44:58 2007 +0000 @@ -296,8 +296,6 @@ int hdrsize = 18; if(!enc->codec_tag || enc->codec_tag > 0xffff) - enc->codec_tag = codec_get_tag(codec_wav_tags, enc->codec_id); - if(!enc->codec_tag || enc->codec_tag > 0xffff) return -1; put_le16(pb, enc->codec_tag); @@ -387,7 +385,7 @@ put_le16(pb, enc->bits_per_sample ? enc->bits_per_sample : 24); /* depth */ /* compression type */ - put_le32(pb, for_asf ? (enc->codec_tag ? enc->codec_tag : av_codec_get_tag(asf_muxer.codec_tag, enc->codec_id)) : enc->codec_tag); // + put_le32(pb, enc->codec_tag); put_le32(pb, enc->width * enc->height * 3); put_le32(pb, 0); put_le32(pb, 0);