summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-22 06:06:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-24 17:01:10 +0100
commit1c910d2f112948bf0c0c309a2049a0e3cdd290e3 (patch)
treeca40f6e38fce0440069560a8c76613a6032127ef /libswscale/swscale_internal.h
parentfa94f8a8484474f1d1630c5e255daa7574c61e9f (diff)
sws: Fix RGB0->alpha containing formats.
Fixes Ticket869 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
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;