From 1c910d2f112948bf0c0c309a2049a0e3cdd290e3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 22 Jan 2012 06:06:22 +0100 Subject: sws: Fix RGB0->alpha containing formats. Fixes Ticket869 Signed-off-by: Michael Niedermayer --- libswscale/swscale_internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libswscale/swscale_internal.h') diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index f4220a9eba..3c4f3953c1 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -330,6 +330,8 @@ typedef struct SwsContext { int dstColorspaceTable[4]; int srcRange; ///< 0 = MPG YUV range, 1 = JPG YUV range (source image). int dstRange; ///< 0 = MPG YUV range, 1 = JPG YUV range (destination image). + int src0Alpha; + int dst0Alpha; int yuv2rgb_y_offset; int yuv2rgb_y_coeff; int yuv2rgb_v2r_coeff; -- cgit v1.2.3