opening file in proper mode

v0.27.3
Michał Walenciak 8 years ago
parent 2fd287bc0c
commit 37e4bd6661

@ -407,6 +407,7 @@ int main(int argc,const char* argv[])
std::cout << "Congrats swap = " << (bSwap?"true":"false") << " offset = " << offset << std::endl;
int depth = 0 ;
Exiv2::FileIo file(argv[1]);
file.open("rb");
printIFD(file, std::cout, Exiv2::kpsRecursive, offset, bSwap, depth);
}

Loading…
Cancel
Save