flv: Use the correct type to hold the file offset

This commit is contained in:
Luca Barbato 2013-12-19 07:38:15 +01:00
parent 15739a9bd1
commit f412b2c9f3
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
if (enc->codec_type == AVMEDIA_TYPE_DATA) { if (enc->codec_type == AVMEDIA_TYPE_DATA) {
int data_size; 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); avio_w8(pb, AMF_DATA_TYPE_STRING);
put_amf_string(pb, "onTextData"); put_amf_string(pb, "onTextData");
avio_w8(pb, AMF_DATA_TYPE_MIXEDARRAY); avio_w8(pb, AMF_DATA_TYPE_MIXEDARRAY);