Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
61bc79ec
Commit
61bc79ec
authored
Apr 20, 2007
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove possibly broken wince cruft
Originally committed as revision 8763 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3154f6db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
23 deletions
+4
-23
configure
configure
+0
-8
os_support.c
libavformat/os_support.c
+4
-8
utils.c
libavformat/utils.c
+0
-2
internal.h
libavutil/internal.h
+0
-5
No files found.
configure
View file @
61bc79ec
...
...
@@ -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"
...
...
libavformat/os_support.c
View file @
61bc79ec
...
...
@@ -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>
...
...
libavformat/utils.c
View file @
61bc79ec
...
...
@@ -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
)
{
...
...
libavutil/internal.h
View file @
61bc79ec
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment