29_vtag_in_ASF_not_effective.patch by (Calcium | calcium nurs or jp)

Originally committed as revision 4071 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Calcium 20 years ago committed by Michael Niedermayer
parent 58d2a1506d
commit 649b918c9f
  1. 2
      libavformat/avienc.c

@ -246,7 +246,7 @@ void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, const CodecTag *tags
put_le16(pb, enc->bits_per_sample ? enc->bits_per_sample : 24); /* depth */ put_le16(pb, enc->bits_per_sample ? enc->bits_per_sample : 24); /* depth */
/* compression type */ /* compression type */
put_le32(pb, for_asf ? codec_get_asf_tag(tags, enc->codec_id) : enc->codec_tag); put_le32(pb, for_asf ? (enc->codec_tag ? enc->codec_tag : codec_get_asf_tag(tags, enc->codec_id)) : enc->codec_tag); //
put_le32(pb, enc->width * enc->height * 3); put_le32(pb, enc->width * enc->height * 3);
put_le32(pb, 0); put_le32(pb, 0);
put_le32(pb, 0); put_le32(pb, 0);

Loading…
Cancel
Save