]> git.sesse.net Git - vlc/blobdiff - modules/access/attachment.c
Update LGPL license blurb, choosing v2.1+.
[vlc] / modules / access / attachment.c
index d2e043c03ff52eedd9237b2f60e8f18760109146..ac5f3dae5b25ed2042317fe717e25a76d4106d31 100644 (file)
@@ -73,13 +73,14 @@ static int Open(vlc_object_t *object)
         return VLC_EGENERIC;
 
     input_attachment_t *a;
-    if (input_Control(input, INPUT_GET_ATTACHMENT, &a, access->psz_path))
+    if (input_Control(input, INPUT_GET_ATTACHMENT, &a, access->psz_location))
         a = NULL;
 
     vlc_object_release(input);
 
     if (!a) {
-        msg_Err(access, "Failed to find the attachment '%s'", access->psz_path);
+        msg_Err(access, "Failed to find the attachment '%s'",
+                access->psz_location);
         return VLC_EGENERIC;
     }