Mercurial > libavformat.hg
changeset 3370:c1736a1cf27b libavformat
simplify
author | bcoudurier |
---|---|
date | Tue, 27 May 2008 02:57:48 +0000 |
parents | 026b8ba58408 |
children | 7a8c6c4eef16 |
files | swfenc.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/swfenc.c Tue May 27 02:55:34 2008 +0000 +++ b/swfenc.c Tue May 27 02:57:48 2008 +0000 @@ -373,11 +373,7 @@ 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 {