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 /libavdevice/v4l2.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 'libavdevice/v4l2.c')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 0480d6886a..b8adf554a3 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -629,7 +629,7 @@ static int v4l2_read_header(AVFormatContext *s1, AVFormatParameters *ap) return AVERROR(EIO); } - if (av_check_image_size(s->width, s->height, 0, s1) < 0) + if (av_image_check_size(s->width, s->height, 0, s1) < 0) return AVERROR(EINVAL); s->frame_format = desired_format; |