aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-21 00:11:59 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-21 00:14:11 +0100
commit6fc9f5e0ff77f827ae0982099b8fcc683bf0063c (patch)
treef0e11ec86e09319f605e67c746cdb96da5549950
parent0c16f6449bb559eca2982c96e79eb7cee7abbfd8 (diff)
parentf412b2c9f3a7add0ab8021262ec4bad249347e30 (diff)
downloadffmpeg-6fc9f5e0ff77f827ae0982099b8fcc683bf0063c.tar.gz
Merge commit 'f412b2c9f3a7add0ab8021262ec4bad249347e30'
* commit 'f412b2c9f3a7add0ab8021262ec4bad249347e30': flv: Use the correct type to hold the file offset Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index a1b498d9e1..fb36f662b7 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -539,7 +539,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);