Skip to content

Commit

Permalink
Revert "fix detecting color string in mlt_property_interpolate"
Browse files Browse the repository at this point in the history
This reverts commits 50e813d and
3f0d9e4.
  • Loading branch information
ddennedy committed Sep 9, 2023
1 parent 50e813d commit 2168422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/framework/mlt_property.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,8 +1236,8 @@ int mlt_property_interpolate(mlt_property self,
int colorstring = 0;
const char *value = self->prop_string;
if (value
&& (((strlen(value) == 7 || strlen(value) == 9) && value[0] == '#')
|| (strlen(value) == 10 && value[0] == '0' && value[1] == 'x'))) {
&& ((strlen(value) > 6 && value[0] == '#')
|| (strlen(value) > 7 && value[0] == '0' && value[1] == 'x'))) {
colorstring = 1;
}

Expand Down

0 comments on commit 2168422

Please sign in to comment.