aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-24 07:36:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-26 03:16:05 +0100
commita1b797926179071841b0d01c6befd8d2e2ebe8e6 (patch)
tree9c0a120d290bf3275d700d59d97e524dcd8635d8 /libavformat/flvenc.c
parenteac4e4d9a59a146a6c8c1e0cf31472624b79274e (diff)
downloadffmpeg-a1b797926179071841b0d01c6befd8d2e2ebe8e6.tar.gz
lavf: replace remaining uses of put_tag with avio_write
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit bbc413f943b53d96aa85fe272ec413c85794019f)
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);