[FFmpeg-cvslog] avienc: fix overflow of audio sample count

Tobias Rapp git at videolan.org
Thu Apr 11 18:39:21 CEST 2013


ffmpeg | branch: master | Tobias Rapp <t.rapp at noa-audio.com> | Thu Apr 11 16:57:24 2013 +0200| [7f09b888e88dcf063810378d411fa92ebbd7c36a] | committer: Michael Niedermayer

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 <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f09b888e88dcf063810378d411fa92ebbd7c36a
---

 libavformat/avienc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 15f0794..878fce4 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;
 



More information about the ffmpeg-cvslog mailing list