Mercurial > mplayer.hg
view osdep/glob.h @ 17831:f36966ddbf77
exit if calloc() fails; free(muxer) before returning NULL if muxer_init() fails (to avoid memleak). Fixes cid 173
author | nicodvb |
---|---|
date | Sun, 12 Mar 2006 18:13:11 +0000 |
parents | 08cac43f1e38 |
children | a42f91a779b8 |
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