[FFmpeg-devel] [PATCH] avdev/libdc1394: distinguish between enumeration errors, and no cameras found

Josh de Kock josh at itanimul.li
Mon Jul 25 14:21:12 EEST 2016

On Mon, Jul 25, 2016, at 10:23 AM, Michael Niedermayer wrote:
> applied
> will push once git.videolan.org is up again
> thx

if you haven't pushed already, could you change the following: 

if (dc1394_camera_enumerate(dc1394->d, &list) != DC1394_SUCCESS ||

should be:

if (dc1394_camera_enumerate(dc1394->d, &list) != DC1394_SUCCESS ||
!list) {

and 'lavd/libdc1394: distinguish between enumeration errors and no
cameras found'
is probably a better commit message (fits in with the other commit
messages more)



More information about the ffmpeg-devel mailing list