From 49b219a1b19f8d4ecf0fa4166f72e56bb5a84263 Mon Sep 17 00:00:00 2001 From: Laurent Fasnacht Date: Thu, 01 Sep 2011 11:15:13 +0000 Subject: Added CRW and DNG extensions (Raw files by CHDK) --- (limited to 'src') diff --git a/src/eyefiservice.cc b/src/eyefiservice.cc index 77526b9..5167cf4 100644 --- a/src/eyefiservice.cc +++ b/src/eyefiservice.cc @@ -169,7 +169,7 @@ int eyefiService::UploadPhoto( std::string::size_type fl = f.length(); if(fl<4) continue; const char *s = f.c_str()+fl-4; - static const char *suffixes[] = { ".JPG",".AVI",".MP4",".NEF",".RAW",".TIF" }; + static const char *suffixes[] = { ".JPG",".AVI",".MP4",".NEF",".RAW",".TIF",".DNG",".CRW" }; if(std::find_if(suffixes,suffixes+sizeof(suffixes)/sizeof(*suffixes), std::not1(std::bind1st(std::ptr_fun(strcasecmp),s))) != suffixes+sizeof(suffixes)/sizeof(*suffixes)) -- cgit v0.9.0.2