diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-24 01:22:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-24 01:22:56 +0200 |
commit | a494792961a08f9f0e47e7eeed65e609178ff436 (patch) | |
tree | 7b0e3a753a9101bb9c4d066a27d76dcf5dab9a35 /libswscale/yuv2rgb.c | |
parent | 6c87b2be7257615126f82e372e66ee5d633e9978 (diff) | |
download | ffmpeg-a494792961a08f9f0e47e7eeed65e609178ff436.tar.gz |
yuv2rgb: fix integer overflow in fill_table
Fixes CID703748
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 18afc5b6bc..23c5f6dc48 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -667,7 +667,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c) } static void fill_table(uint8_t* table[256 + 2*YUVRGB_TABLE_HEADROOM], const int elemsize, - const int inc, void *y_tab) + const int64_t inc, void *y_tab) { int i; uint8_t *y_table = y_tab; |