Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC


Commits:
e3463d2e by François Cartegnie at 2025-06-23T04:31:45+00:00
demux: adaptive: fix bogus port discarding condition

(cherry picked from commit 6d65ec658949c63546af2df9758865aeed1a23e5)

- - - - -


1 changed file:

- modules/demux/adaptive/http/ConnectionParams.cpp


Changes:

=====================================
modules/demux/adaptive/http/ConnectionParams.cpp
=====================================
@@ -70,8 +70,8 @@ void ConnectionParams::setPath(const std::string &path_)
     if(!hostname.empty())
     {
         os << hostname;
-        if( (port != 80 && scheme != "http") ||
-            (port != 443 && scheme != "https") )
+        if( (port != 80 && scheme == "http") ||
+            (port != 443 && scheme == "https") )
             os << ":" << port;
     }
     os << path;



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

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to