From: Alexander Reshetnikov Date: Sat, 31 Mar 2012 15:27:48 +0000 (+0000) Subject: Removed duplicated includes from ffmpeg wrappers X-Git-Tag: accepted/2.0/20130307.220821~879 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ec2ad91b90f67d06c7d303d1ac51847238a66a7;p=profile%2Fivi%2Fopencv.git Removed duplicated includes from ffmpeg wrappers --- diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp index 7d1be9c..fa847ce 100644 --- a/modules/highgui/src/cap_ffmpeg_impl.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp @@ -55,7 +55,6 @@ extern "C" { #ifdef WIN32 #define HAVE_FFMPEG_SWSCALE 1 - #include #include #include #else @@ -65,13 +64,11 @@ extern "C" { #if defined(HAVE_GENTOO_FFMPEG) #define HAVE_LIBAVCODEC_AVCODEC_H 1 - #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 #if defined(HAVE_FFMPEG_SWSCALE) #define HAVE_LIBSWSCALE_SWSCALE_H 1 #endif #elif defined HAVE_FFMPEG #define HAVE_FFMPEG_AVCODEC_H 1 - #define HAVE_FFMPEG_AVFORMAT_H 1 #if defined(HAVE_FFMPEG_SWSCALE) #define HAVE_FFMPEG_SWSCALE_H 1 #endif @@ -82,16 +79,10 @@ extern "C" { #if defined(HAVE_FFMPEG_AVCODEC_H) #include #endif -#if defined(HAVE_FFMPEG_AVFORMAT_H) - #include -#endif #if defined(HAVE_FFMPEG_SWSCALE_H) #include #endif -#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) - #include -#endif #if defined(HAVE_LIBAVCODEC_AVCODEC_H) #include #endif diff --git a/modules/highgui/src/cap_ffmpeg_impl_v2.hpp b/modules/highgui/src/cap_ffmpeg_impl_v2.hpp index 82fd0b6..327dc4c 100755 --- a/modules/highgui/src/cap_ffmpeg_impl_v2.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl_v2.hpp @@ -56,7 +56,6 @@ extern "C" { #ifdef WIN32 #define HAVE_FFMPEG_SWSCALE 1 - #include #include #include #else @@ -66,13 +65,11 @@ extern "C" { #if defined(HAVE_GENTOO_FFMPEG) #define HAVE_LIBAVCODEC_AVCODEC_H 1 - #define HAVE_LIBAVFORMAT_AVFORMAT_H 1 #if defined(HAVE_FFMPEG_SWSCALE) #define HAVE_LIBSWSCALE_SWSCALE_H 1 #endif #elif defined HAVE_FFMPEG #define HAVE_FFMPEG_AVCODEC_H 1 - #define HAVE_FFMPEG_AVFORMAT_H 1 #if defined(HAVE_FFMPEG_SWSCALE) #define HAVE_FFMPEG_SWSCALE_H 1 #endif @@ -83,16 +80,10 @@ extern "C" { #if defined(HAVE_FFMPEG_AVCODEC_H) #include #endif -#if defined(HAVE_FFMPEG_AVFORMAT_H) - #include -#endif #if defined(HAVE_FFMPEG_SWSCALE_H) #include #endif -#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) - #include -#endif #if defined(HAVE_LIBAVCODEC_AVCODEC_H) #include #endif