From 7c37e504f0aaeca15fa4fcfda3ac1932cd158d57 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Tue, 10 Jul 2007 21:52:04 +0000 Subject: Remove OS/2 support Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'ffplay.c') 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 - #include - - 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) -- cgit v1.2.3