diff options
author | mrlika <andriy.lysnevych@gmail.com> | 2013-09-02 15:10:22 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-17 22:57:31 +0200 |
commit | ed72542539fb61dc3a6d6280d8a6a956ac04a071 (patch) | |
tree | 072e2873ccf570ac769bf0d0adcee58ae567a1ae /libavcodec/golomb.h | |
parent | 2d28950da9b2733e2630d3c5aa8a85fd4793f7f5 (diff) | |
download | ffmpeg-ed72542539fb61dc3a6d6280d8a6a956ac04a071.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>
Diffstat (limited to 'libavcodec/golomb.h')
0 files changed, 0 insertions, 0 deletions