mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
vo_opengl: remove another unneeded allocation
This commit is contained in:
parent
51307e9f18
commit
1bc902336a
@ -1670,9 +1670,7 @@ static float eval_szexpr(struct gl_video *p, struct img_tex tex,
|
||||
}
|
||||
}
|
||||
|
||||
char *errname = bstrto0(NULL, name);
|
||||
MP_WARN(p, "Texture %s not found in RPN expression!\n", errname);
|
||||
talloc_free(errname);
|
||||
MP_WARN(p, "Texture %.*s not found in RPN expression!\n", BSTR_P(name));
|
||||
return 1.0;
|
||||
|
||||
found_tex:
|
||||
|
Loading…
Reference in New Issue
Block a user