diff --git a/ffplay.c b/ffplay.c index 4fa5511ac3..ac1d9906a3 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2341,7 +2341,7 @@ static void event_loop(void) static void opt_frame_size(const char *arg) { - if (parse_image_size(&screen_width, &screen_height, arg) < 0) { + if (parse_image_size(&frame_width, &frame_height, arg) < 0) { fprintf(stderr, "Incorrect frame size\n"); exit(1); }