[FFmpeg-cvslog] r13458 - trunk/libavformat/swfenc.c
bcoudurier
subversion
Tue May 27 05:00:40 CEST 2008
Author: bcoudurier
Date: Tue May 27 05:00:40 2008
New Revision: 13458
Log:
simplify
Modified:
trunk/libavformat/swfenc.c
Modified: trunk/libavformat/swfenc.c
==============================================================================
--- trunk/libavformat/swfenc.c (original)
+++ trunk/libavformat/swfenc.c Tue May 27 05:00:40 2008
@@ -410,10 +410,7 @@ static int swf_write_video(AVFormatConte
put_le16(pb, BITMAP_ID); /* ID of the image */
/* a dummy jpeg header seems to be required */
- put_byte(pb, 0xff);
- put_byte(pb, 0xd8);
- put_byte(pb, 0xff);
- put_byte(pb, 0xd9);
+ put_be32(pb, 0xffd8ffd9);
/* write the jpeg image */
put_buffer(pb, buf, size);
More information about the ffmpeg-cvslog
mailing list