[FFmpeg-devel] [PATCH] lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns ENODATA

Michael Niedermayer michaelni at gmx.at
Mon Aug 18 14:04:48 CEST 2014


On Mon, Aug 18, 2014 at 11:42:15AM +0000, Carl Eugen Hoyos wrote:
> Andre Wolokita <andre.wolokita <at> analog.com> writes:
> 
> > -    if (ret == AVERROR(EINVAL)) {
> > +    if (ret == AVERROR(EINVAL) || ret == AVERROR(ENODATA)) {
> 
> If I read fate correctly this broke compilation 
> on OpenBSD where ENODATA isn't defined.

pushed a fix, hope it works

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140818/459dd55c/attachment.asc>


More information about the ffmpeg-devel mailing list