[FFmpeg-cvslog] r22966 - trunk/libavdevice/v4l2.c
Stefano Sabatini
stefano.sabatini-lala
Sat May 1 10:24:51 CEST 2010
On date Wednesday 2010-04-28 09:53:48 +0200, Luca Abeni wrote:
> 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)... ;-)
Applied.
More information about the ffmpeg-cvslog
mailing list