comparison libmpdemux/mf.c @ 9984:84b64dece730

enable mf support on mingw32
author faust3
date Fri, 25 Apr 2003 10:20:15 +0000
parents 9cdbcd86c176
children 6ff3379a0862
comparison
equal deleted inserted replaced
9983:14c92818ab75 9984:84b64dece730
11 11
12 #include "config.h" 12 #include "config.h"
13 13
14 #ifdef HAVE_GLOB 14 #ifdef HAVE_GLOB
15 #include <glob.h> 15 #include <glob.h>
16 #else
17 #include "../osdep/glob.h"
16 #endif 18 #endif
17 19
18 #include "mp_msg.h" 20 #include "mp_msg.h"
19 #include "help_mp.h" 21 #include "help_mp.h"
20 #include "stream.h" 22 #include "stream.h"
25 int mf_h = 0; //288; 27 int mf_h = 0; //288;
26 float mf_fps = 25.0; 28 float mf_fps = 25.0;
27 char * mf_type = NULL; //"jpg"; 29 char * mf_type = NULL; //"jpg";
28 30
29 mf_t* open_mf(char * filename){ 31 mf_t* open_mf(char * filename){
30 #ifdef HAVE_GLOB 32 #if defined(HAVE_GLOB) || defined(__MINGW32__)
31 glob_t gg; 33 glob_t gg;
32 struct stat fs; 34 struct stat fs;
33 int i; 35 int i;
34 char * fname; 36 char * fname;
35 mf_t * mf; 37 mf_t * mf;