Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -170,7 +170,7 @@ static void libschroedinger_handle_first_access_unit(AVCodecContext *avccontext)
|
||||
p_schro_params->format = schro_decoder_get_video_format(decoder);
|
||||
|
||||
/* Tell FFmpeg about sequence details. */
|
||||
if (av_check_image_size(p_schro_params->format->width, p_schro_params->format->height,
|
||||
if (av_image_check_size(p_schro_params->format->width, p_schro_params->format->height,
|
||||
0, avccontext) < 0) {
|
||||
av_log(avccontext, AV_LOG_ERROR, "invalid dimensions (%dx%d)\n",
|
||||
p_schro_params->format->width, p_schro_params->format->height);
|
||||
|
||||
Reference in New Issue
Block a user