[FFmpeg-cvslog] flv: Use the correct type to hold the file offset
Luca Barbato
git at videolan.org
Sat Dec 21 00:19:55 CET 2013
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Thu Dec 19 07:38:15 2013 +0100| [f412b2c9f3a7add0ab8021262ec4bad249347e30] | committer: Luca Barbato
flv: Use the correct type to hold the file offset
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f412b2c9f3a7add0ab8021262ec4bad249347e30
---
libavformat/flvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index ca453f6..3364f2c 100644
--- 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);
+ 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);
More information about the ffmpeg-cvslog
mailing list