diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 06:57:48 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 06:57:48 +0400 |
commit | 8d4f0e6749a527797db4ea3a14c5c2f6f34a11e8 (patch) | |
tree | a10e1e4ad5b763c4a2fc729d0661a64e52ddee24 | |
parent | 9caf6781ed4442f7a81a08b26655dd02c3257daf (diff) |
simplify
Originally committed as revision 13457 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/swfenc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index c172c309cc..1e1914187b 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -373,11 +373,7 @@ static int swf_write_video(AVFormatContext *s, put_le16(pb, VIDEO_ID); put_swf_matrix(pb, 1 << FRAC_BITS, 0, 0, 1 << FRAC_BITS, 0, 0); put_le16(pb, swf->video_frame_number); - put_byte(pb, 'v'); - put_byte(pb, 'i'); - put_byte(pb, 'd'); - put_byte(pb, 'e'); - put_byte(pb, 'o'); + put_tag(pb, "video"); put_byte(pb, 0x00); put_swf_end_tag(s); } else { |