Skip to content

Commit

Permalink
flv: Use the correct type to hold the file offset
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Dec 20, 2013
1 parent 15739a9 commit f412b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/flvenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f412b2c

Please sign in to comment.