diff --git a/src/input/decoder_helpers.c b/src/input/decoder_helpers.c index 3d1c574cb76c6fbb9857383813c0358d235b0dca..298eacafedec816bd2ce6b3c3181d6a2f9f776d1 100644 --- a/src/input/decoder_helpers.c +++ b/src/input/decoder_helpers.c @@ -132,9 +132,9 @@ vlc_decoder_device_Create(vout_window_t *window) if (!priv) return NULL; char *name = var_InheritString(window, "dec-dev"); - priv->module = vlc_module_load(&priv->device, "decoder device", name, - true, decoder_device_Open, &priv->device, - window); + priv->module = vlc_module_load(priv, "decoder device", name, + true, decoder_device_Open, &priv->device, + window); free(name); if (!priv->module) {