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
This commit is contained in:
Philippe Marzouk
2001-03-27 22:55:22 +00:00
parent 85b367077d
commit 9d9cc79e45

View File

@@ -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;
}