diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-02-23 17:57:08 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-03-03 21:38:52 +0200 |
commit | 5e0a163886f825983c5bfcd4181e6498b0f3e0f2 (patch) | |
tree | a2d6b359dc276c69a1e538ee435f19bd3a768c85 /mpcommon.h | |
parent | 962eec0440ad65a71c09a9e206e110c62d9de3c8 (diff) | |
download | mpv-5e0a163886f825983c5bfcd4181e6498b0f3e0f2.tar.bz2 mpv-5e0a163886f825983c5bfcd4181e6498b0f3e0f2.tar.xz |
tl_matroska.c: move the find_files() function here
Move the find_files() function from findfiles.c to tl_matroska.c.
Delete the findfiles.c file. Add a check against opendir() failure in
find_files().
Diffstat (limited to 'mpcommon.h')
-rw-r--r-- | mpcommon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mpcommon.h b/mpcommon.h index 891331293f..bc35934e41 100644 --- a/mpcommon.h +++ b/mpcommon.h @@ -24,6 +24,8 @@ #define ROUND(x) ((int)((x) < 0 ? (x) - 0.5 : (x) + 0.5)) +#define MP_TALLOC_ELEMS(p) (talloc_get_size(p) / sizeof((p)[0])) + extern const char *mplayer_version; #endif /* MPLAYER_MPCOMMON_H */ |