From 9d9cc79e45479281cab3908ce0995fa2cbcedf51 Mon Sep 17 00:00:00 2001 From: Philippe Marzouk Date: Tue, 27 Mar 2001 22:55:22 +0000 Subject: [PATCH] added a max filesize of 10M for some cameras git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1799 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/canon/psa50.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camlibs/canon/psa50.c b/camlibs/canon/psa50.c index 0b537800d..1e08d9040 100644 --- a/camlibs/canon/psa50.c +++ b/camlibs/canon/psa50.c @@ -1471,7 +1471,7 @@ unsigned char *psa50_get_file_serial(Camera *camera, const char *name,int *lengt total = get_int(msg+4); if(cs->model == CANON_PS_S20 || cs->model==CANON_PS_G1 || cs->model == CANON_PS_S10) { - maxfilesize=3000000; + maxfilesize=10000000; } else { maxfilesize=2000000; @@ -1548,7 +1548,7 @@ unsigned char *psa50_get_file_usb(Camera *camera, const char *name,int *length) total=len; if(cs->model == CANON_PS_S20 || cs->model == CANON_PS_G1 || cs->model == CANON_PS_S10) { - maxfilesize=3000000; + maxfilesize=10000000; } else { maxfilesize=2000000; }