mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-05 08:47:30 +08:00
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
@@ -4160,7 +4160,7 @@ static int parse_ffconfig(const char *filename)
|
||||
} else if (!strcasecmp(cmd, "VideoSize")) {
|
||||
get_arg(arg, sizeof(arg), &p);
|
||||
if (stream) {
|
||||
parse_image_size(&video_enc.width, &video_enc.height, arg);
|
||||
av_parse_video_frame_size(&video_enc.width, &video_enc.height, arg);
|
||||
if ((video_enc.width % 16) != 0 ||
|
||||
(video_enc.height % 16) != 0) {
|
||||
fprintf(stderr, "%s:%d: Image size must be a multiple of 16\n",
|
||||
|
Reference in New Issue
Block a user