aboutsummaryrefslogtreecommitdiff
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorAnton Khirnov2011-02-24 07:36:04 +0100
committerRonald S. Bultje2011-02-25 14:38:56 -0500
commitbbc413f943b53d96aa85fe272ec413c85794019f (patch)
tree9f6804f11a01261d080691b737b0d6ea98a26f7d /libavformat/flvenc.c
parent99f42c27abfe916fa19ac0c18489c8bbf8525406 (diff)
lavf: replace remaining uses of put_tag with avio_write
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r--libavformat/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 71a3784396..4d49a966e9 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -199,7 +199,7 @@ static int flv_write_header(AVFormatContext *s)
}
av_set_pts_info(s->streams[i], 32, 1, 1000); /* 32 bit pts in ms */
}
- put_tag(pb,"FLV");
+ avio_write(pb, "FLV", 3);
avio_w8(pb,1);
avio_w8(pb, FLV_HEADER_FLAG_HASAUDIO * !!audio_enc
+ FLV_HEADER_FLAG_HASVIDEO * !!video_enc);