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

Clément Bœsch u at pkh.me
Mon Aug 18 14:06:26 CEST 2014


On Mon, Aug 18, 2014 at 02:04:48PM +0200, Michael Niedermayer wrote:
> 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
> 

v4l2 + openbsd? What magic is this?

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140818/b7813168/attachment.asc>


More information about the ffmpeg-devel mailing list