OSDN Git Service

Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 1 May 2010 08:24:24 +0000 (08:24 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 1 May 2010 08:24:24 +0000 (08:24 +0000)
commit50f852186fda7392dbbf110fb9dc8f1fae9d9258
tree1d3f9a25765204443ad52c02845df7d45053c7a5
parent2d23fecd5dfbf544d8ddc0cada2e09d4ddce2a92
Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case
of failure return the stored value rather than the current errno,
which may be overwritten by a following call to close().

Originally committed as revision 23001 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/v4l2.c