Skip to content
Snippets Groups Projects
Commit e102fcf7 authored by Roberto Togni's avatar Roberto Togni
Browse files

rle_code can overflow when multiplied by 4

(fixes Animation-256Greys.mov from mphq)

Originally committed as revision 2786 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 50ee2c41
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ static void qtrle_decode_8bpp(QtrleContext *s)
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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment