[FFmpeg-cvslog] r22539 - trunk/libavformat/riff.c

benoit subversion
Mon Mar 15 09:49:02 CET 2010


Author: benoit
Date: Mon Mar 15 09:49:02 2010
New Revision: 22539

Log:
riff: don't pad extradata when writing ASF.
Patch by Anton Khirnov mirror(moc liamg saksyw)

Modified:
   trunk/libavformat/riff.c

Modified: trunk/libavformat/riff.c
==============================================================================
--- trunk/libavformat/riff.c	Mon Mar 15 09:35:07 2010	(r22538)
+++ trunk/libavformat/riff.c	Mon Mar 15 09:49:02 2010	(r22539)
@@ -443,7 +443,7 @@ void ff_put_bmp_header(ByteIOContext *pb
 
     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



More information about the ffmpeg-cvslog mailing list