You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fix frame size option, patch by Limin Wang, lance lmwang gmail com
Originally committed as revision 8165 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Baptiste Coudurier
parent
ccec0f4f94
commit
eb3c8c0b31
2
ffplay.c
2
ffplay.c
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user