[vlc-commits] [Git][videolan/vlc][master] access: remove hardcoded size

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Jun 23 19:50:49 UTC 2022



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
ff415efe by Alexandre Janniaux at 2022-06-23T19:16:00+00:00
access: remove hardcoded size

- - - - -


1 changed file:

- src/input/access.c


Changes:

=====================================
src/input/access.c
=====================================
@@ -79,7 +79,7 @@ static stream_t *accessNewAttachment(vlc_object_t *parent,
         vlc_stream_Delete(stream);
         return NULL;
     }
-    stream->psz_location = stream->psz_url + 13;
+    stream->psz_location = stream->psz_url + strlen("attachment://");
     return stream;
 }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ff415efe3e1dc11dcf9fd8d6a4a3c542ea84f43e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ff415efe3e1dc11dcf9fd8d6a4a3c542ea84f43e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list