Skip to content

Commit 90801d0

Browse files
committed
Fix compile warnings
1 parent b0015da commit 90801d0

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/modules/qt/filter_qtblend.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ static int filter_get_image(mlt_frame frame,
6161
double consumer_ar = mlt_profile_sar(profile);
6262

6363
// Destination rect
64-
mlt_rect rect = {0,
65-
0,
66-
normalized_width,
67-
normalized_height,
68-
1.0};
64+
mlt_rect rect = {0, 0, (double)normalized_width, (double)normalized_height, 1.0};
6965
int b_width = mlt_properties_get_int(frame_properties, "meta.media.width");
7066
int b_height = mlt_properties_get_int(frame_properties, "meta.media.height");
7167
bool distort = mlt_properties_get_int(properties, "distort");

src/modules/qt/transition_qtblend.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ static int get_image(mlt_frame a_frame,
5858
int normalized_height = profile->height;
5959

6060
// reference rect
61-
mlt_rect rect = {0,
62-
0,
63-
normalized_width,
64-
normalized_height,
65-
1.0};
61+
mlt_rect rect = {0, 0, (double)normalized_width, (double)normalized_height, 1.0};
6662

6763
bool distort = mlt_properties_get_int(transition_properties, "distort");
6864
double consumer_ar = mlt_profile_sar(profile);

0 commit comments

Comments
 (0)