summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-07 19:15:29 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-07 19:15:29 +0000
commite16f217ceb95395669abe3cea18737e92fb78c82 (patch)
tree8e55022c675d84e0cf39ebb7047396992dd93e7d /libavcodec/rv10.c
parent9b7269e379289e240404c803acac25c607bb0e26 (diff)
downloadffmpeg-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/rv10.c')
-rw-r--r--libavcodec/rv10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index ad73d91a18..b6d87f4f09 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -370,7 +370,7 @@ static int rv20_decode_picture_header(MpegEncContext *s)
}
if(new_w != s->width || new_h != s->height){
av_log(s->avctx, AV_LOG_DEBUG, "attempting to change resolution to %dx%d\n", new_w, new_h);
- if (av_check_image_size(new_w, new_h, 0, s->avctx) < 0)
+ if (av_image_check_size(new_w, new_h, 0, s->avctx) < 0)
return -1;
MPV_common_end(s);
avcodec_set_dimensions(s->avctx, new_w, new_h);