diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 07:00:40 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 07:00:40 +0400 |
commit | 6ef445fede34ddeb127e4c4a471010e1d60dc4a5 (patch) | |
tree | d1208338a078d7663090ae89ed9d7572f616a250 | |
parent | 8d4f0e6749a527797db4ea3a14c5c2f6f34a11e8 (diff) |
simplify
Originally committed as revision 13458 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/swfenc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index 1e1914187b..cd63a4743b 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -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); |