diff --git a/Distortion/Distortion.cpp b/Distortion/Distortion.cpp index 416c9ee30..473b30914 100644 --- a/Distortion/Distortion.cpp +++ b/Distortion/Distortion.cpp @@ -1701,10 +1701,10 @@ DistortionPlugin::getDistortionModel(const OfxRectI& format, const OfxPointD& re break; } case eDistortionModelPFBarrel: { - double par = 1.; - if (_srcClip) { - par = _srcClip->getPixelAspectRatio(); - } + //double par = 1.; + //if (_srcClip) { + // par = _srcClip->getPixelAspectRatio(); + //} double c3 = _pfC3->getValueAtTime(time); double c5 = _pfC5->getValueAtTime(time); double xp, yp; diff --git a/Reformat/Reformat.cpp b/Reformat/Reformat.cpp index 8484251d5..9acbd2544 100644 --- a/Reformat/Reformat.cpp +++ b/Reformat/Reformat.cpp @@ -407,7 +407,7 @@ ReformatPlugin::getOutputFormat(const double time, return; } - OfxRectD boxRod = { 0., 0., boxSize.x * boxPAR, boxSize.y}; + OfxRectD boxRod = { 0., 0., (double)boxSize.x * boxPAR, (double)boxSize.y}; #ifdef OFX_EXTENSIONS_NATRON OfxRectD srcRod; OfxRectI srcFormat;