mirror of https://github.com/mpv-player/mpv
vo_opengl: remove unnecessary allocation
This commit is contained in:
parent
56ed5bf1c7
commit
dd99c1e3b4
|
@ -154,9 +154,7 @@ bool parse_user_shader_pass(struct mp_log *log, struct bstr *body,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unknown command type
|
// Unknown command type
|
||||||
char *str = bstrto0(NULL, line);
|
mp_err(log, "Unrecognized command '%.*s'!\n", BSTR_P(line));
|
||||||
mp_err(log, "Unrecognized command '%s'!\n", str);
|
|
||||||
talloc_free(str);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue