[FFmpeg-cvslog] 8svx: fix crash

Michael Niedermayer git at videolan.org
Sat Jun 9 21:11:47 CEST 2012


ffmpeg | branch: release/0.8 | Michael Niedermayer <michaelni at gmx.at> | Fri Jun  1 01:33:00 2012 +0200| [a4bf9033c37897dbef39daaf073a8ecdb5c0888c] | committer: Michael Niedermayer

8svx: fix crash

Fixes Ticket1377

Found-by: Piotr Bandurski <ami_stuff at o2.pl>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 03ce421c1361e4ce79468de8269ad51ba2ae4c16)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/8svx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
index 5d94e00..336fa70 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;
 



More information about the ffmpeg-cvslog mailing list