summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-04 17:29:34 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-04 21:58:08 +0100
commit6fcf2bb8af0e7d6bb179e71e67e5fab8ef0d2ec2 (patch)
treedbd9eca3ad8646d34f53d8d15cf334b868fe09f6 /libavcodec/vorbis.c
parent7149fce2cac0474a5fbc5b47add1158cd8bb283e (diff)
downloadffmpeg-6fcf2bb8af0e7d6bb179e71e67e5fab8ef0d2ec2.tar.gz
vorbis: Fix last quarter of CVE-2011-3893
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vorbis.c')
-rw-r--r--libavcodec/vorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis.c b/libavcodec/vorbis.c
index dce7a55975..b20e398b93 100644
--- a/libavcodec/vorbis.c
+++ b/libavcodec/vorbis.c
@@ -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;