aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-01 01:33:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-09 21:07:37 +0200
commita4bf9033c37897dbef39daaf073a8ecdb5c0888c (patch)
tree9a1f19f21a6b92334d80da5044b94a33023e8062 /libavcodec
parent8502b4aef68b7f5c06018f18c89a2fd6586f3b79 (diff)
downloadffmpeg-a4bf9033c37897dbef39daaf073a8ecdb5c0888c.tar.gz
8svx: fix crash
Fixes Ticket1377 Found-by: Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 03ce421c1361e4ce79468de8269ad51ba2ae4c16) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/8svx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
index 5d94e005a2..336fa70852 100644
--- a/libavcodec/8svx.c
+++ b/libavcodec/8svx.c
@@ -44,7 +44,7 @@ typedef struct EightSvxContext {
/* buffer used to store the whole audio decoded/interleaved chunk,
* which is sent with the first packet */
uint8_t *samples;
- size_t samples_size;
+ int64_t samples_size;
int samples_idx;
} EightSvxContext;