summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-07-10 21:52:04 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-07-10 21:52:04 +0000
commit7c37e504f0aaeca15fa4fcfda3ac1932cd158d57 (patch)
tree00af08d5c3284789aaee244422663e21c3c55c07 /ffplay.c
parent059eeabf35f866415d91ff2b5829d8ab2e7f43f9 (diff)
Remove OS/2 support
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/ffplay.c b/ffplay.c
index 7d983515d9..e425900799 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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)