projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check the user submitted value for the rescaling method.
[libam7xxx.git]
/
examples
/
am7xxx-play.c
diff --git
a/examples/am7xxx-play.c
b/examples/am7xxx-play.c
index
a29212c
..
67050c3
100644
(file)
--- 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: