Commit eb3c8c0b authored by Limin Wang's avatar Limin Wang Committed by Baptiste Coudurier

fix frame size option, patch by Limin Wang, lance lmwang gmail com

Originally committed as revision 8165 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ccec0f4f
...@@ -2341,7 +2341,7 @@ static void event_loop(void) ...@@ -2341,7 +2341,7 @@ static void event_loop(void)
static void opt_frame_size(const char *arg) 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"); fprintf(stderr, "Incorrect frame size\n");
exit(1); exit(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment