diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-24 07:36:04 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-25 14:38:56 -0500 |
commit | bbc413f943b53d96aa85fe272ec413c85794019f (patch) | |
tree | 9f6804f11a01261d080691b737b0d6ea98a26f7d /libavformat/swfenc.c | |
parent | 99f42c27abfe916fa19ac0c18489c8bbf8525406 (diff) | |
download | ffmpeg-bbc413f943b53d96aa85fe272ec413c85794019f.tar.gz |
lavf: replace remaining uses of put_tag with avio_write
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index c698600bdd..296b9c27d9 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -229,7 +229,7 @@ static int swf_write_header(AVFormatContext *s) else swf->samples_per_frame = (swf->audio_enc->sample_rate * rate_base) / rate; - put_tag(pb, "FWS"); + avio_write(pb, "FWS", 3); if (!strcmp("avm2", s->oformat->name)) version = 9; @@ -361,7 +361,7 @@ static int swf_write_video(AVFormatContext *s, avio_wl16(pb, VIDEO_ID); put_swf_matrix(pb, 1 << FRAC_BITS, 0, 0, 1 << FRAC_BITS, 0, 0); avio_wl16(pb, swf->video_frame_number); - put_tag(pb, "video"); + avio_write(pb, "video", 5); avio_w8(pb, 0x00); put_swf_end_tag(s); } else { |