diff options
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/avdevice.h | 2 | ||||
-rw-r--r-- | libavdevice/v4l.c | 2 | ||||
-rw-r--r-- | libavdevice/v4l2.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h index 09f366eead..9508f2277f 100644 --- a/libavdevice/avdevice.h +++ b/libavdevice/avdevice.h @@ -23,7 +23,7 @@ #define LIBAVDEVICE_VERSION_MAJOR 52 #define LIBAVDEVICE_VERSION_MINOR 2 -#define LIBAVDEVICE_VERSION_MICRO 1 +#define LIBAVDEVICE_VERSION_MICRO 2 #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \ LIBAVDEVICE_VERSION_MINOR, \ diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index 50a113a72a..f640c769cd 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -117,7 +117,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) } } - if(av_check_image_size(s->video_win.width, s->video_win.height, 0, s1) < 0) + if(av_image_check_size(s->video_win.width, s->video_win.height, 0, s1) < 0) return -1; desired_palette = -1; 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; |