diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-01 01:33:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-09 20:46:55 +0200 |
commit | fcf09ebff5af35280c655eaa40baed1c586fdf77 (patch) | |
tree | 9d8c26c0312fcb52d6772828797a916418586c53 /libavcodec | |
parent | d6c73986cc64600354971ae95491e8b77f3237eb (diff) | |
download | ffmpeg-fcf09ebff5af35280c655eaa40baed1c586fdf77.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |