Commit b204f7fb authored by bcoudurier's avatar bcoudurier

simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13458 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cb41a13d
...@@ -410,10 +410,7 @@ static int swf_write_video(AVFormatContext *s, ...@@ -410,10 +410,7 @@ static int swf_write_video(AVFormatContext *s,
put_le16(pb, BITMAP_ID); /* ID of the image */ put_le16(pb, BITMAP_ID); /* ID of the image */
/* a dummy jpeg header seems to be required */ /* a dummy jpeg header seems to be required */
put_byte(pb, 0xff); put_be32(pb, 0xffd8ffd9);
put_byte(pb, 0xd8);
put_byte(pb, 0xff);
put_byte(pb, 0xd9);
/* write the jpeg image */ /* write the jpeg image */
put_buffer(pb, buf, size); put_buffer(pb, buf, size);
......
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