replace calls to deprecated parsing functions to calls to new ones
patch by Stefano Sabatini: [stefano sabatini-lala poste it] Originally committed as revision 9359 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Benoit Fouet
parent
aa45201dd5
commit
b33ece1634
2
ffplay.c
2
ffplay.c
@@ -2368,7 +2368,7 @@ static void event_loop(void)
|
||||
|
||||
static void opt_frame_size(const char *arg)
|
||||
{
|
||||
if (parse_image_size(&frame_width, &frame_height, arg) < 0) {
|
||||
if (av_parse_video_frame_size(&frame_width, &frame_height, arg) < 0) {
|
||||
fprintf(stderr, "Incorrect frame size\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user