From: Sebastian Dröge Date: Sat, 2 Mar 2013 18:29:40 +0000 (+0100) Subject: videoscale: Fix compiler errors caused by not including config.h X-Git-Tag: 1.19.3~511^2~5569 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a58f8b9ec936b88170075e989391d4df5b5c42d;p=platform%2Fupstream%2Fgstreamer.git videoscale: Fix compiler errors caused by not including config.h _stdint.h requires config.h to be included to properly use the correct code to get uint8_t and friends. --- diff --git a/gst/videoscale/vs_4tap.c b/gst/videoscale/vs_4tap.c index 4377fd7..b770d8f 100644 --- a/gst/videoscale/vs_4tap.c +++ b/gst/videoscale/vs_4tap.c @@ -25,6 +25,9 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "vs_image.h" #include "vs_scanline.h" diff --git a/gst/videoscale/vs_fill_borders.c b/gst/videoscale/vs_fill_borders.c index 0c5bba4..2a12d23 100644 --- a/gst/videoscale/vs_fill_borders.c +++ b/gst/videoscale/vs_fill_borders.c @@ -24,7 +24,6 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/videoscale/vs_image.c b/gst/videoscale/vs_image.c index 815ad16..bcd0d98 100644 --- a/gst/videoscale/vs_image.c +++ b/gst/videoscale/vs_image.c @@ -24,6 +24,9 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include diff --git a/gst/videoscale/vs_lanczos.c b/gst/videoscale/vs_lanczos.c index 67cd401..929a763 100644 --- a/gst/videoscale/vs_lanczos.c +++ b/gst/videoscale/vs_lanczos.c @@ -114,6 +114,10 @@ * the strength of the sharpening filter. * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "vs_scanline.h" diff --git a/gst/videoscale/vs_scanline.c b/gst/videoscale/vs_scanline.c index fc66d5e..f34581e 100644 --- a/gst/videoscale/vs_scanline.c +++ b/gst/videoscale/vs_scanline.c @@ -24,6 +24,9 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "vs_scanline.h"