diff options
author | mrlika <andriy.lysnevych@gmail.com> | 2013-09-02 15:10:22 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-10-24 11:02:35 +0200 |
commit | 311e58e478c1a28a199b73f04a17d1f1ecc44403 (patch) | |
tree | 91db6cef06d52208cbddb4246e6263e6e8744330 /libavfilter/vf_null.c | |
parent | 970109deaf470dae691a90c7e0d65a652a1a2da4 (diff) | |
download | ffmpeg-311e58e478c1a28a199b73f04a17d1f1ecc44403.tar.gz |
lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid match
With some (buggy) drivers, the VIDIOC_G_STD ioctl returns a std_id that cannot
be matched with any of the enumerated v4l2_standard structures (for example
std_id = 0 or std_id = 0xffffff). Do not fail when we reach the end of the
enumeration without a valid match.
Fixes ticket #2370
Note: This commit message has been modified by Giorgio Vazzana, the original
commit message was:
"Fixed regression for mandatory VIDIOC_ENUMSTD support by v4l2"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ed72542539fb61dc3a6d6280d8a6a956ac04a071)
Diffstat (limited to 'libavfilter/vf_null.c')
0 files changed, 0 insertions, 0 deletions