summaryrefslogtreecommitdiff
path: root/libavfilter/framerate.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/framerate.h')
-rw-r--r--libavfilter/framerate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/framerate.h b/libavfilter/framerate.h
index 2947c54cc6..d255635686 100644
--- a/libavfilter/framerate.h
+++ b/libavfilter/framerate.h
@@ -28,8 +28,7 @@
ptrdiff_t width, ptrdiff_t height, \
int factor1, int factor2, int half
-#define BLEND_FACTOR_DEPTH8 7
-#define BLEND_FACTOR_DEPTH16 15
+#define BLEND_FACTOR_DEPTH(n) (n-1)
typedef void (*blend_func)(BLEND_FUNC_PARAMS);