mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
simplify
Originally committed as revision 13458 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8d4f0e6749
commit
6ef445fede
@ -410,10 +410,7 @@ static int swf_write_video(AVFormatContext *s,
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user