From 5131fe13e1d14acc327fe3deb6b26361a00bf8b0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 9 Apr 2014 22:36:01 +0200 Subject: cache: change a define to an enum More consistent. --- stream/cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stream') diff --git a/stream/cache.c b/stream/cache.c index 64c993975e..ac3efcfb74 100644 --- a/stream/cache.c +++ b/stream/cache.c @@ -130,10 +130,10 @@ enum { CACHE_CTRL_NONE = 0, CACHE_CTRL_QUIT = -1, CACHE_CTRL_PING = -2, -}; -// we should fill buffer only if space>=FILL_LIMIT -#define FILL_LIMIT (FFMAX(16 * 1024, BYTE_META_CHUNK_SIZE * 2)) + // we should fill buffer only if space>=FILL_LIMIT + FILL_LIMIT = FFMAX(16 * 1024, BYTE_META_CHUNK_SIZE * 2), +}; static int64_t mp_clipi64(int64_t val, int64_t min, int64_t max) { -- cgit v1.2.3