Added filename emptyness check to the Exif reader, fixes 6120
This commit is contained in:
@@ -128,6 +128,11 @@ std::map<int, ExifEntry_t > ExifReader::getExif()
|
||||
|
||||
size_t count;
|
||||
|
||||
if (m_filename.size() == 0)
|
||||
{
|
||||
return m_exif;
|
||||
}
|
||||
|
||||
FILE* f = fopen( m_filename.c_str(), "rb" );
|
||||
|
||||
if( !f )
|
||||
|
||||
Reference in New Issue
Block a user