From 8d4f0e6749a527797db4ea3a14c5c2f6f34a11e8 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Tue, 27 May 2008 02:57:48 +0000 Subject: simplify Originally committed as revision 13457 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/swfenc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libavformat/swfenc.c') 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 { -- cgit v1.2.3