summaryrefslogtreecommitdiff
path: root/libavformat/swfenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r--libavformat/swfenc.c6
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 {