Guard against 0 len while decoding
Set alt_layout earlier to shut up coverity
Fix an unlikely memory leak found by coverity
Fix some small bugs found by coverity
Fix a typo in the NefDecoder
Expose metadata for rotation/scaling post-demosaic
Enable the D1X and set the correct aspect ratio
Merge pull request #47 from pedrocr/coverity-fixes

Fix a few small issues found by coverity
Merge pull request #49 from pedrocr/fuji-rotation-metadata

Expose the needed metadata for fuji rotation and scaling of non-square pixel cameras
Merge pull request #48 from pedrocr/nef-typo-fix

Fix a typo in the NefDecoder
Fix a buffer overflow on double width fuji images
Merge pull request #51 from pedrocr/fix-fuji-f700-buffer-overflow

Fix a buffer overflow on double width fuji images