Mercurial > mplayer.hg
view osdep/glob.h @ 24888:b2402b4f0afa
libaf: change filter input/output ratio calculations
Change the audio filters to use a double instead of rationals for the
ratio of output to input size. The rationals could overflow when
calculating the overall ratio of a filter chain and gave no real
advantage compared to doubles.
author | uau |
---|---|
date | Thu, 01 Nov 2007 06:52:01 +0000 |
parents | a42f91a779b8 |
children | 6ac1ece1f9fe |
line wrap: on
line source
#include "config.h" 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);