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
7c37e504
Commit
7c37e504
authored
Jul 10, 2007
by
Ramiro Polla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove OS/2 support
Originally committed as revision 9586 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
059eeabf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
50 deletions
+4
-50
Changelog
Changelog
+1
-0
ffmpeg.c
ffmpeg.c
+1
-6
ffplay.c
ffplay.c
+0
-25
os_support.c
libavformat/os_support.c
+0
-3
os_support.h
libavformat/os_support.h
+1
-9
internal.h
libavutil/internal.h
+1
-7
No files found.
Changelog
View file @
7c37e504
...
...
@@ -89,6 +89,7 @@ version <next>
- codebook generator
- RoQ video encoder
- QTRLE encoder
- OS/2 support removed
version 0.4.9-pre1:
...
...
ffmpeg.c
View file @
7c37e504
...
...
@@ -44,11 +44,6 @@
#include <termios.h>
#include <sys/resource.h>
#endif
#ifdef CONFIG_OS2
#include <sys/types.h>
#include <sys/select.h>
#include <stdlib.h>
#endif
#undef time //needed because HAVE_AV_CONFIG_H is defined on top
#include <time.h>
...
...
@@ -3110,7 +3105,7 @@ static void opt_pass(const char *pass_str)
do_pass
=
pass
;
}
#if defined(__MINGW32__)
|| defined(CONFIG_OS2)
#if defined(__MINGW32__)
static
int64_t
getutime
(
void
)
{
return
av_gettime
();
...
...
ffplay.c
View file @
7c37e504
...
...
@@ -35,23 +35,6 @@
#undef main
/* We don't want SDL to override our main() */
#endif
#ifdef CONFIG_OS2
#define INCL_DOS
#include <os2.h>
#include <stdio.h>
void
MorphToPM
()
{
PPIB
pib
;
PTIB
tib
;
DosGetInfoBlocks
(
&
tib
,
&
pib
);
// Change flag from VIO to PM:
if
(
pib
->
pib_ultype
==
2
)
pib
->
pib_ultype
=
3
;
}
#endif
#undef exit
//#define DEBUG_SYNC
...
...
@@ -2533,14 +2516,6 @@ int main(int argc, char **argv)
/* register all codecs, demux and protocols */
av_register_all
();
#ifdef CONFIG_OS2
MorphToPM
();
// Morph the VIO application to a PM one to be able to use Win* functions
// Make stdout and stderr unbuffered
setbuf
(
stdout
,
NULL
);
setbuf
(
stderr
,
NULL
);
#endif
parse_options
(
argc
,
argv
,
options
);
if
(
!
input_filename
)
...
...
libavformat/os_support.c
View file @
7c37e504
...
...
@@ -24,9 +24,6 @@
#if defined(__MINGW32__)
#include <sys/types.h>
#include <sys/timeb.h>
#elif defined(CONFIG_OS2)
#include <string.h>
#include <sys/time.h>
#else
#include <unistd.h>
#include <fcntl.h>
...
...
libavformat/os_support.h
View file @
7c37e504
...
...
@@ -27,10 +27,8 @@
* miscellaneous OS support macros and functions.
*
* - socklen_t typedef (BeOS, Innotek libc)
* - usleep() (Win32, BeOS
, OS/2
)
* - usleep() (Win32, BeOS)
* - lseek() (Win32)
* - floatf() (OS/2)
* - strcasecmp() (OS/2)
* - closesocket()
* - poll() (BeOS, MinGW)
*/
...
...
@@ -68,12 +66,6 @@ __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
# endif
#endif
#if defined(CONFIG_OS2)
#include <stdlib.h>
static
inline
int
usleep
(
unsigned
int
t
)
{
return
_sleep2
(
t
/
1000
);
}
static
inline
int
strcasecmp
(
const
char
*
s1
,
const
char
*
s2
)
{
return
stricmp
(
s1
,
s2
);
}
#endif
/* most of the time closing a socket is just closing an fd */
#if HAVE_CLOSESOCKET != 1
#define closesocket close
...
...
libavutil/internal.h
View file @
7c37e504
...
...
@@ -101,13 +101,7 @@
# define snprintf _snprintf
# define vsnprintf _vsnprintf
/* __MINGW32__ end */
#elif defined (CONFIG_OS2)
/* OS/2 EMX */
# include <float.h>
#endif
/* !__MINGW32__ && CONFIG_OS2 */
#endif
/* !__MINGW32__ */
#ifdef USE_FASTMEMCPY
# include "libvo/fastmemcpy.h"
...
...
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