We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952a993 commit d22c2c6Copy full SHA for d22c2c6
src/vo_postprocess/text.c
@@ -160,12 +160,15 @@ static void * text_init(const char *config) {
160
} else if (strstr(item, "h=") != NULL) {
161
s->req_h = atoi(item + 2);
162
} else if (strstr(item, "f=") != NULL) {
163
+ free(s->req_font);
164
s->req_font = strdup(strchr(item, '=') + 1);
165
} else if (strstr(item, "t=") != NULL) {
166
replace_all(item + 2, DELDEL, ":");
167
+ free(s->text);
168
s->text = strdup(item + 2);
169
} else {
170
replace_all(item, DELDEL, ":");
171
172
s->text = strdup(item);
173
}
174
tmp = NULL;
0 commit comments