Bugfix for [#29684] Output video presets messed up
[blender.git] / source / blender / quicktime / apple / quicktime_export.c
index 937e1b6be46eaf44a202898884952eecab11a8af..5dfce9d3e80234a56b4cd3396b8ccd16978765c6 100644 (file)
@@ -687,9 +687,9 @@ static void check_renderbutton_framerate(RenderData *rd, ReportList *reports)
        }
 }
 
-void quicktime_verify_image_type(RenderData *rd)
+void quicktime_verify_image_type(RenderData *rd, ImageFormatData *imf)
 {
-       if (rd->im_format.imtype == R_IMF_IMTYPE_QUICKTIME) {
+       if (imf->imtype == R_IMF_IMTYPE_QUICKTIME) {
                if ((rd->qtcodecsettings.codecType== 0) ||
                        (rd->qtcodecsettings.codecSpatialQuality <0) ||
                        (rd->qtcodecsettings.codecSpatialQuality > 100)) {