diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2014-01-06 10:28:09 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2014-01-06 10:28:09 +0000 |
commit | 770392d834d5fa12ca75652226aec60c0e7bbad2 (patch) | |
tree | befd25f2c379b1721840855ae7e9ca9cc3282b18 | |
parent | face0356b204bd5d1f31fcceb36a1f2d63d935af (diff) | |
download | libgphoto2-770392d834d5fa12ca75652226aec60c0e7bbad2.tar.gz |
From: Jiri Pinkava <j-pi@seznam.cz>
camlibs-pentax: warn about unknown buffer types
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14648 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/pentax/pslr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camlibs/pentax/pslr.c b/camlibs/pentax/pslr.c index 5855c93a2..90d8618d1 100644 --- a/camlibs/pentax/pslr.c +++ b/camlibs/pentax/pslr.c @@ -597,6 +597,8 @@ int pslr_buffer_open(pslr_handle_t h, int bufno, int buftype, int bufres) p->segments[j].addr = info.addr; p->segments[j].length = info.length; j++; + } else { + DPRINT("Unknown segment type %d\n", info.type); } CHECK(ipslr_next_segment(p)); buf_total += info.length; |