It seems the other resolutions work for the gsmart mini after all. Remove the

checks for them.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5557 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Till Adam
2002-11-07 15:31:28 +00:00
parent 111d47244f
commit bd2fc91a5f

View File

@@ -152,10 +152,6 @@ gsmart_get_image (CameraPrivateLibrary * lib, u_int8_t ** buf,
p = g_file->fat;
if ((lib->bridge == GSMART_BRIDGE_SPCA500)
&& ((p[20] & 0xFF) != 0))
return GP_ERROR_NOT_SUPPORTED;
/* get the position in memory where the image is */
start = (p[1] & 0xff) + (p[2] & 0xff) * 0x100;
start *= 128;
@@ -467,10 +463,6 @@ gsmart_get_image_thumbnail (CameraPrivateLibrary * lib, u_int8_t ** buf,
p = g_file->fat;
if ((lib->bridge == GSMART_BRIDGE_SPCA500)
&& ((p[20] & 0xFF) != 0))
return GP_ERROR_NOT_SUPPORTED;
start = (p[3] & 0xff) + (p[4] & 0xff) * 0x100;
start *= 128;