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:
wm4 2015-03-23 18:07:33 +01:00
parent 9d84b2c07d
commit b5e67ca178
1 changed files with 0 additions and 1 deletions

View File

@ -900,7 +900,6 @@ int mpv_set_option(mpv_handle *ctx, const char *name, mpv_format format,
if (format != MPV_FORMAT_NODE) {
tmp.format = format;
memcpy(&tmp.u, data, type->type->size);
format = MPV_FORMAT_NODE;
data = &tmp;
}
lock_core(ctx);