set frame number before identify

This commit is contained in:
heckflosse
2016-11-01 15:09:36 +01:00
parent a6876e258a
commit 405e9a29a2

View File

@@ -13,7 +13,7 @@
#else
#include <netinet/in.h>
#endif
#include <iostream>
namespace rtengine
{
@@ -422,6 +422,8 @@ int RawImage::loadRaw (bool loadData, bool closeFile, ProgressListener *plistene
raw_image = nullptr;
//***************** Read ALL raw file info
setFrameNumber(frameNum);
identify ();
if (!is_raw) {
@@ -435,8 +437,6 @@ int RawImage::loadRaw (bool loadData, bool closeFile, ProgressListener *plistene
return 2;
}
setFrameNumber(frameNum);
if (flip == 5) {
this->rotate_deg = 270;
} else if (flip == 3) {