aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avienc.c
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-audio.com>2013-04-11 16:57:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-11 18:33:24 +0200
commit7f09b888e88dcf063810378d411fa92ebbd7c36a (patch)
tree3e1e881bd2acfb58a659d2e0db339a74d2edb62b /libavformat/avienc.c
parent865e20daf3c97215fbc8da3c9a348c55d9407d52 (diff)
downloadffmpeg-7f09b888e88dcf063810378d411fa92ebbd7c36a.tar.gz
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@gmx.at>
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r--libavformat/avienc.c2
1 files changed, 1 insertions, 1 deletions
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;