FFmpeg/libswscale
Luca Barbato 9a2387cfb1 swscale: Fix an undefined behaviour
Prevent a division by zero down the codepath.

Sample-Id: 00001721-google
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 3a177a9cca)
(cherry picked from commit 0499f7809c1fcc33ed710cdf771a18b374702135)
2014-05-04 10:20:48 -04:00
..
bfin Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
ppc miscellaneous typo fixes 2012-12-21 00:18:34 +01:00
sparc Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
x86 x86: SPLATD: port to cpuflags 2012-11-18 18:34:05 +01:00
colorspace-test.c testprogs: Remove unused includes 2012-08-29 00:23:51 +03:00
input.c swscale: do not forget to swap data in formats with different endianness 2012-10-31 17:53:57 +01:00
libswscale.v swscale: Do not make ff_ symbols globally visible. 2012-10-10 02:08:01 +02:00
Makefile Create version.h headers for libraries that lack them 2012-07-04 15:10:06 +02:00
options.c Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
output.c sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
rgb2rgb.c x86: mmx2 ---> mmxext in comments and messages 2012-10-31 00:37:42 +01:00
rgb2rgb.h rgb2rgb: rgb12to15() 2012-01-12 16:43:17 -08:00
rgb2rgb_template.c x86: mmx2 ---> mmxext in comments and messages 2012-10-31 00:37:42 +01:00
swscale-test.c sws: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:38 +02:00
swscale.c miscellaneous typo fixes 2012-12-21 00:18:34 +01:00
swscale.h libswscale: remove unnecessary direct #if LIBSWSCALE_VERSION_MAJOR 2012-11-16 15:04:57 +01:00
swscale_internal.h x86: mmx2 ---> mmxext in variable names 2012-10-31 00:37:42 +01:00
swscale_unscaled.c swscale: support gray to 9bit and 10bit formats 2012-10-30 12:02:41 +01:00
utils.c swscale: Fix an undefined behaviour 2014-05-04 10:20:48 -04:00
version.h x86: build: replace mmx2 by mmxext 2012-08-03 22:51:05 +02:00
yuv2rgb.c swscale: Use alpha from the right row in yuva2rgba_c 2013-05-06 17:44:24 +03:00