mirror of https://github.com/mpv-player/mpv
client API: remove dead assignment
Probably a leftover from an earlier refactoring. Now data is always in the format MPV_FORMAT_NODE.
This commit is contained in:
parent
9d84b2c07d
commit
b5e67ca178
|
@ -900,7 +900,6 @@ int mpv_set_option(mpv_handle *ctx, const char *name, mpv_format format,
|
||||||
if (format != MPV_FORMAT_NODE) {
|
if (format != MPV_FORMAT_NODE) {
|
||||||
tmp.format = format;
|
tmp.format = format;
|
||||||
memcpy(&tmp.u, data, type->type->size);
|
memcpy(&tmp.u, data, type->type->size);
|
||||||
format = MPV_FORMAT_NODE;
|
|
||||||
data = &tmp;
|
data = &tmp;
|
||||||
}
|
}
|
||||||
lock_core(ctx);
|
lock_core(ctx);
|
||||||
|
|
Loading…
Reference in New Issue