From a9ddb5b1a4f190aba32917b85d1709cddc9100b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Schieli?= <cschieli@gmail.com>
Date: Fri, 20 Mar 2009 14:12:47 +0000
Subject: [PATCH] Add a CONFIG_SWSCALE_ALPHA option for alpha channel scaling
 (enabled by default)

Originally committed as revision 18075 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index 165484b4c33..0c0a72435e8 100755
--- a/configure
+++ b/configure
@@ -92,6 +92,7 @@ show_help(){
   echo "  --disable-ipv6           disable IPv6 support [no]"
   echo "  --disable-mpegaudio-hp   faster (but less accurate) MPEG audio decoding [no]"
   echo "  --enable-gray            enable full grayscale support (slower color)"
+  echo "  --disable-swscale-alpha  disable alpha channel support in swscale"
   echo "  --disable-fastdiv        disable table-based division"
   echo "  --enable-small           optimize for size instead of speed"
   echo "  --disable-aandct         disable AAN DCT code"
@@ -802,6 +803,7 @@ CONFIG_LIST="
     shared
     small
     static
+    swscale_alpha
     x11grab
     zlib
 "
@@ -1178,6 +1180,7 @@ enable optimizations
 enable protocols
 enable static
 enable stripping
+enable swscale_alpha
 
 # build settings
 add_cflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-- 
GitLab