diff options
Diffstat (limited to 'libavdevice/v4l.c')
-rw-r--r-- | libavdevice/v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |