X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/e73c33d0a4c2f4695f58a19b2a0a06af3b0353bd..70329b82b7a0e5ba226841e3a8f3a9b09e420e3e:/examples/am7xxx-play.c diff --git a/examples/am7xxx-play.c b/examples/am7xxx-play.c index 531c156..67050c3 100644 --- a/examples/am7xxx-play.c +++ b/examples/am7xxx-play.c @@ -557,7 +557,7 @@ static void usage(char *name) printf("\t-o \t\ta comma separated list of input format options\n"); printf("\t\t\t\tEXAMPLE:\n"); printf("\t\t\t\t\t-o draw_mouse=1,framerate=100,video_size=800x480\n"); - printf("\t-s \t\tthe rescaling method (see swscale.h)\n"); + printf("\t-s \tthe rescaling method (see swscale.h)\n"); printf("\t-u \t\t\tupscale the image if smaller than the display dimensions\n"); printf("\t-F \t\tthe image format to use (default is JPEG)\n"); printf("\t\t\t\tSUPPORTED FORMATS:\n"); @@ -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: