view osdep/glob.h @ 13427:9d0b052c4f74

setting samplesize to 2 in decoders where neccessary. Needed because initialization of sh_audio was moved from dec_audio to demuxer.c, and some demuxers set samplesize incorrect or to 0.
author reimar
date Tue, 21 Sep 2004 20:34:47 +0000
parents 14c92818ab75
children 08cac43f1e38
line wrap: on
line source

#include "../config.h"

#ifndef HAVE_GLOB
#ifdef __MINGW32__
typedef struct {
  size_t gl_pathc;
  char **gl_pathv;
  size_t gl_offs;
} glob_t;

void globfree(glob_t *pglob);

int  glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);

#endif
#endif