]> git.sesse.net Git - ffmpeg/commitdiff
vorbis: Fix last quarter of CVE-2011-3893
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jan 2012 16:29:34 +0000 (17:29 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Jan 2012 20:58:08 +0000 (21:58 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vorbis.c

index dce7a55975ba3a8f89028a2dfe1637aae1963d4a..b20e398b93b7de474c72488ccc6e5c1f8db07088 100644 (file)
@@ -179,7 +179,7 @@ static inline void render_line_unrolled(intptr_t x, unsigned char y, int x1,
     }
 }
 
-static void render_line(int x0, int y0, int x1, int y1, float *buf)
+static void render_line(int x0, unsigned char y0, int x1, int y1, float *buf)
 {
     int dy  = y1 - y0;
     int adx = x1 - x0;