diff --git a/configure b/configure index 60255fbd892aa825c748cc20e0cf89261e769021..54efb2c1acdf3f88f1456687e5d8f87ccee38d5c 100755 --- a/configure +++ b/configure @@ -62,7 +62,6 @@ show_help(){ echo " --shlibdir=DIR install shared libs in DIR [PREFIX/lib]" echo " --incdir=DIR install includes in DIR [PREFIX/include/ffmpeg]" echo " --mandir=DIR install man page in DIR [PREFIX/man]" - echo " --enable-mingwce enable MinGW native/cross WinCE compile" echo " --enable-static build static libraries [default=yes]" echo " --disable-static do not build static libraries [default=no]" echo " --enable-shared build shared libraries [default=no]" @@ -597,7 +596,6 @@ CONFIG_LIST=' vhook v4l v4l2 - wince x11grab x264 xvid @@ -779,7 +777,6 @@ bigendian="no" targetos=$(tolower $(uname -s)) beos_netserver="no" os2="no" -wince="no" # non-library system interfaces audio_beos="default" @@ -937,8 +934,6 @@ for opt do ;; --cpu=*) cpu="$optval" ;; - --enable-mingwce) wince="yes" - ;; --disable-opts) optimize="no" ;; --enable-small) optimize="small" @@ -1139,9 +1134,6 @@ EOF dv1394="no" ffserver="no" network="no" - if enabled wince; then - protocols="no" - fi SLIBPREF="" SLIBSUF=".dll" EXESUF=".exe" diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 7a4be8fa75e8888017e74f9f4c0bd03872e4798e..5bd9e58b689ba1d1df0ed51756590965bd87de46 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -21,9 +21,7 @@ */ #include "config.h" #include "avformat.h" -#if defined(CONFIG_WINCE) -/* Skip includes on WinCE. */ -#elif defined(__MINGW32__) +#if defined(__MINGW32__) #include <sys/types.h> #include <sys/timeb.h> #elif defined(CONFIG_OS2) @@ -49,9 +47,7 @@ */ int64_t av_gettime(void) { -#if defined(CONFIG_WINCE) - return timeGetTime() * INT64_C(1000); -#elif defined(__MINGW32__) +#if defined(__MINGW32__) struct timeb tb; _ftime(&tb); return ((int64_t)tb.time * INT64_C(1000) + (int64_t)tb.millitm) * INT64_C(1000); @@ -62,7 +58,7 @@ int64_t av_gettime(void) #endif } -#if !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R) +#if !defined(HAVE_LOCALTIME_R) struct tm *localtime_r(const time_t *t, struct tm *tp) { struct tm *l; @@ -73,7 +69,7 @@ struct tm *localtime_r(const time_t *t, struct tm *tp) *tp = *l; return tp; } -#endif /* !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R) */ +#endif /* !defined(HAVE_LOCALTIME_R) */ #if !defined(HAVE_INET_ATON) && defined(CONFIG_NETWORK) #include <stdlib.h> diff --git a/libavformat/utils.c b/libavformat/utils.c index 6267b9a72962f8d94a7839373099032477d5e3bb..ce05fa0b9910003243fdc7d4530393f4da18b84b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2537,7 +2537,6 @@ int parse_frame_rate(int *frame_rate, int *frame_rate_base, const char *arg) return 0; } -#ifndef CONFIG_WINCE int64_t parse_date(const char *datestr, int duration) { const char *p; @@ -2645,7 +2644,6 @@ int64_t parse_date(const char *datestr, int duration) } return negative ? -t : t; } -#endif /* CONFIG_WINCE */ int find_info_tag(char *arg, int arg_size, const char *tag1, const char *info) { diff --git a/libavutil/internal.h b/libavutil/internal.h index fb7d07ca80d75e707f8bdfd381e58d00f3061667..9856ca144be454854aeea5db81de6b22cdae7585 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -106,11 +106,6 @@ # define snprintf _snprintf # define vsnprintf _vsnprintf -# ifdef CONFIG_WINCE -# define perror(a) -# define abort() -# endif - /* __MINGW32__ end */ #elif defined (CONFIG_OS2) /* OS/2 EMX */