[FFmpeg-cvslog] r22966 - trunk/libavdevice/v4l2.c

Luca Abeni lucabe72
Wed Apr 28 09:53:48 CEST 2010


Luca Abeni wrote:
[...]
>  > -    if (res < 0 && errno == 515) {
>  > +    if (res < 0 && ((err = errno) == 515)) {
>  >          av_log(ctx, AV_LOG_ERROR, "QUERYCAP not implemented, probably V4L device but not supporting V4L2\n");
>  >          close(fd);
>  >
>  > -        return AVERROR(errno);
>  > +        return AVERROR(err);
> 
> This should obviously be "return 515" :)

Make it AVERROR(515)... ;-)


			Luca



More information about the ffmpeg-cvslog mailing list