Might it be reasonable to check at the beginning of 
ptp_unpack_EOS_FocusInfoEx() if data is zero-filled (so nothing useful),
and, if so, just exit the function posting an appropriate message to
the log, but without triggering an error?

Thus it would be possible to avoid camera-specific conditionals in the
function, which, of course, are undesired.

-- 
Regards,
Alexey Kryukov <anagnost at yandex dot ru>

Moscow State University
Faculty of History

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to