mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 22:41:11 +00:00
riff: don't pad extradata when writing ASF.
Patch by Anton Khirnov mirror(moc liamg saksyw) Originally committed as revision 22539 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0298cc04bd
commit
63100f5885
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user