Use avcodec_check_dimensions() for checking the frame size validity.
commit82d5cf0010ffa00a7c9f6136f3722ece884d5723
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 28 Dec 2008 14:41:19 +0000 (28 14:41 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 28 Dec 2008 14:41:19 +0000 (28 14:41 +0000)
treef5b67c29d8e5fb11deaa9c0660b7e1b2ef01c6d1
parentb3f6cecf460e1c8aebf2518d878fabb56ebbdb3a
Use avcodec_check_dimensions() for checking the frame size validity.
The v4l.c check is moved after the eventual automatic size detection,
so the check in that case is performed on the new set values.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16370 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavdevice/v4l.c
libavdevice/v4l2.c