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

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Aug 18 13:42:15 CEST 2014


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.

Carl Eugen



More information about the ffmpeg-devel mailing list