projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
efe749b
)
Check the user submitted value for the rescaling method.
author
Reto Schneider <github@reto-schneider.ch>
Tue, 20 Mar 2012 20:16:14 +0000
(21:16 +0100)
committer
Reto Schneider <github@reto-schneider.ch>
Tue, 20 Mar 2012 21:49:49 +0000
(22:49 +0100)
examples/am7xxx-play.c
patch
|
blob
|
history
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);
break;
case 's':
rescale_method = atoi(optarg);
- switch(
format
) {
+ switch(
rescale_method
) {
case SWS_FAST_BILINEAR:
case SWS_BILINEAR:
case SWS_BICUBIC:
case SWS_FAST_BILINEAR:
case SWS_BILINEAR:
case SWS_BICUBIC: