corrected compile issues on xenial (should fix linux CI)

This commit is contained in:
itsmattkc
2020-08-30 13:35:00 +10:00
parent 050103a857
commit e42ba3f9d4
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ PixelFormat::Format OIIODecoder::GetFormatFromOIIOBasetype(const OIIO::ImageSpec
rational OIIODecoder::GetPixelAspectRatioFromOIIO(const OIIO::ImageSpec &spec)
{
return rational::fromDouble(spec.extra_attribs.get_float("PixelAspectRatio", 1));
return rational::fromDouble(spec.get_float_attribute("PixelAspectRatio", 1));
}
bool OIIODecoder::FileTypeIsSupported(const QString& fn)
+1
View File
@@ -22,6 +22,7 @@
#define COMMANDLINEPARSER_H
#include <QStringList>
#include <QVector>
#include "common/define.h"