[vlc-commits] [Git][videolan/vlc][3.0.x] demux: adaptive: fix bogus port discarding condition

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Mon Jun 23 05:09:04 UTC 2025



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


More information about the vlc-commits mailing list