OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15739a9
)
flv: Use the correct type to hold the file offset
author
Luca Barbato
<lu_zero@gentoo.org>
Thu, 19 Dec 2013 06:38:15 +0000
(07:38 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Fri, 20 Dec 2013 16:44:20 +0000
(17:44 +0100)
libavformat/flvenc.c
patch
|
blob
|
history
diff --git
a/libavformat/flvenc.c
b/libavformat/flvenc.c
index
ca453f6
..
3364f2c
100644
(file)
--- 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);
+ int
64_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);