diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-06 09:37:04 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-06 09:37:04 +0000 |
commit | 6ce9b4310cf1eba1a356191f30460a97e6653b91 (patch) | |
tree | 4211e63439fb2ee8a0f063fe62b6ef1a4a0ad393 /libavcodec/libdiracdec.c | |
parent | 899a507fa690e533f62e95a0c5d1caf487cf72ce (diff) | |
download | ffmpeg-6ce9b4310cf1eba1a356191f30460a97e6653b91.tar.gz |
Remove use of the deprecated function avcodec_check_dimensions(), use
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libdiracdec.c')
-rw-r--r-- | libavcodec/libdiracdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libdiracdec.c b/libavcodec/libdiracdec.c index d24d3baf99..c1b0b7f333 100644 --- a/libavcodec/libdiracdec.c +++ b/libavcodec/libdiracdec.c @@ -105,8 +105,8 @@ 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 (avcodec_check_dimensions(avccontext, src_params->width, - src_params->height) < 0) { + if (av_check_image_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); avccontext->height = avccontext->width = 0; |