Metadata currently is written only at the start of the file in normal
cases, when transcoding from a rtmp source metadata could be
written later and the offset recorded can exceed 32bit.
---
libavformat/flvenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index b20a3f8..a0fc7ef 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -176,7 +176,7 @@ static int flv_write_header(AVFormatContext *s)
AVCodecContext *audio_enc = NULL, *video_enc = NULL;
int i;
double framerate = 0.0;
- int metadata_size_pos, data_size;
+ int64_t metadata_size_pos, data_size;
AVMetadataTag *tag = NULL;
for(i=0; i<s->nb_streams; i++){
--
1.7.5.rc1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel