diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-12-19 07:38:15 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-12-20 17:44:20 +0100 |
commit | f412b2c9f3a7add0ab8021262ec4bad249347e30 (patch) | |
tree | 0526da7ee5dd581b731137774596bec3fd478d64 /libavformat/flvenc.c | |
parent | 15739a9bd19a7d47ad8afb25348c684a3bdd6ef2 (diff) | |
download | ffmpeg-f412b2c9f3a7add0ab8021262ec4bad249347e30.tar.gz |
flv: Use the correct type to hold the file offset
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r-- | libavformat/flvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index ca453f6025..3364f2ca3f 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -506,7 +506,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) if (enc->codec_type == AVMEDIA_TYPE_DATA) { int data_size; - int metadata_size_pos = avio_tell(pb); + int64_t metadata_size_pos = avio_tell(pb); avio_w8(pb, AMF_DATA_TYPE_STRING); put_amf_string(pb, "onTextData"); avio_w8(pb, AMF_DATA_TYPE_MIXEDARRAY); |