changeset 19520:46fa785e9026

A value of 2 is valid for noup, too
author reimar
date Thu, 24 Aug 2006 17:21:03 +0000
parents 1dc1c55328e2
children 0be2d3583f4f
files libmpcodecs/vf_scale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c	Thu Aug 24 16:25:56 2006 +0000
+++ b/libmpcodecs/vf_scale.c	Thu Aug 24 17:21:03 2006 +0000
@@ -614,7 +614,7 @@
   // Note that here the 2 field is NULL (ie 0)
   // As we want this option to act on the option struct itself
   {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset},
-  {"noup", ST_OFF(noup), CONF_TYPE_INT, M_OPT_RANGE, 0, 1, NULL},
+  {"noup", ST_OFF(noup), CONF_TYPE_INT, M_OPT_RANGE, 0, 2, NULL},
   {"arnd", ST_OFF(accurate_rnd), CONF_TYPE_FLAG, 0, 0, 1, NULL},
   { NULL, NULL, 0, 0, 0, 0,  NULL }
 };