diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 19:15:29 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 19:15:29 +0000 |
commit | e16f217ceb95395669abe3cea18737e92fb78c82 (patch) | |
tree | 8e55022c675d84e0cf39ebb7047396992dd93e7d /libavcodec/libdiracdec.c | |
parent | 9b7269e379289e240404c803acac25c607bb0e26 (diff) | |
download | ffmpeg-e16f217ceb95395669abe3cea18737e92fb78c82.tar.gz |
Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libdiracdec.c')
-rw-r--r-- | libavcodec/libdiracdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libdiracdec.c b/libavcodec/libdiracdec.c index e26186f317..0e8454e310 100644 --- a/libavcodec/libdiracdec.c +++ b/libavcodec/libdiracdec.c @@ -106,7 +106,7 @@ static int libdirac_decode_frame(AVCodecContext *avccontext, /* tell FFmpeg about sequence details */ dirac_sourceparams_t *src_params = &p_dirac_params->p_decoder->src_params; - if (av_check_image_size(src_params->width, src_params->height, + if (av_image_check_size(src_params->width, src_params->height, 0, avccontext) < 0) { av_log(avccontext, AV_LOG_ERROR, "Invalid dimensions (%dx%d)\n", src_params->width, src_params->height); |