Mercurial > libavcodec.hg
changeset 1808:9d860b33fd54 libavcodec
rle_code can overflow when multiplied by 4
(fixes Animation-256Greys.mov from mphq)
author | rtognimp |
---|---|
date | Sat, 14 Feb 2004 18:12:36 +0000 |
parents | db067aa9fc2b |
children | 45a7f6690782 |
files | qtrle.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/qtrle.c Sat Feb 14 17:11:46 2004 +0000 +++ b/qtrle.c Sat Feb 14 18:12:36 2004 +0000 @@ -84,7 +84,7 @@ int header; int start_line; int lines_to_change; - signed char rle_code; + int rle_code; int row_ptr, pixel_ptr; int row_inc = s->frame.linesize[0]; unsigned char pi1, pi2, pi3, pi4; /* 4 palette indices */