From eb3c8c0b311676fdec72f0be5fd5a6feafb051f0 Mon Sep 17 00:00:00 2001
From: Limin Wang <lance.lmwang@gmail.com>
Date: Thu, 1 Mar 2007 10:00:07 +0000
Subject: [PATCH] fix frame size option, patch by Limin Wang, lance lmwang
 gmail com

Originally committed as revision 8165 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffplay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 4fa5511ac32..ac1d9906a38 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);
     }
-- 
GitLab