From 03ce421c1361e4ce79468de8269ad51ba2ae4c16 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Jun 2012 01:33:00 +0200 Subject: 8svx: fix crash Fixes Ticket1377 Found-by: Piotr Bandurski Signed-off-by: Michael Niedermayer --- libavcodec/8svx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index f42a35b20b..e220ad13cc 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -47,7 +47,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; -- cgit v1.2.3