Commit e586a8a9 authored by benoit's avatar benoit

riff: don't pad extradata when writing ASF.

Patch by Anton Khirnov mirror(moc liamg saksyw)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22539 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0feccaa7
......@@ -443,7 +443,7 @@ void ff_put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, const AVCodecTag
put_buffer(pb, enc->extradata, enc->extradata_size);
if (enc->extradata_size & 1)
if (!for_asf && enc->extradata_size & 1)
put_byte(pb, 0);
}
#endif //CONFIG_MUXERS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment