From 7f09b888e88dcf063810378d411fa92ebbd7c36a Mon Sep 17 00:00:00 2001 From: Tobias Rapp Date: Thu, 11 Apr 2013 16:57:24 +0200 Subject: [PATCH] avienc: fix overflow of audio sample count Fixes an overflow of the sample count field within the audio stream header chunk if audio stream data exceeds 2GB. Signed-off-by: Michael Niedermayer --- libavformat/avienc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 15f07943f6..878fce4e20 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -57,7 +57,7 @@ typedef struct { typedef struct { int64_t frames_hdr_strm; - int audio_strm_length; + int64_t audio_strm_length; int packet_count; int entry;