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.

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

Reply via email to