From 70329b82b7a0e5ba226841e3a8f3a9b09e420e3e Mon Sep 17 00:00:00 2001 From: Reto Schneider Date: Tue, 20 Mar 2012 21:16:14 +0100 Subject: [PATCH] Check the user submitted value for the rescaling method. --- examples/am7xxx-play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index a29212c..67050c3 100644 --- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -620,7 +620,7 @@ int main(int argc, char *argv[]) break; case 's': rescale_method = atoi(optarg); - switch(format) { + switch(rescale_method) { case SWS_FAST_BILINEAR: case SWS_BILINEAR: case SWS_BICUBIC: -- 2.1.4