History

flv: Use the correct type to hold the file offset

Luca Barbato committed 12 years ago

Commit f412b2c1 parent 15739a91 file · +1 −1Browse files

Unified · Split

libavformat/flvenc.c+1−1
@@ -506,7 +506,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) · 505 unmodified lines
506506
507507 if (enc->codec_type == AVMEDIA_TYPE_DATA) {
508508 int data_size;
509− int metadata_size_pos = avio_tell(pb);
509+ int64_t metadata_size_pos = avio_tell(pb);
510510 avio_w8(pb, AMF_DATA_TYPE_STRING);
511511 put_amf_string(pb, "onTextData");
512512 avio_w8(pb, AMF_DATA_TYPE_MIXEDARRAY);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t