[vlc-commits] [Git][videolan/vlc][master] demux: adaptive: check ios reads
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Sep 28 08:55:37 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
b91f0ee5 by Steve Lhomme at 2025-09-28T08:40:24+00:00
demux: adaptive: check ios reads
- - - - -
1 changed file:
- modules/demux/adaptive/tools/Conversions.cpp
Changes:
=====================================
modules/demux/adaptive/tools/Conversions.cpp
=====================================
@@ -115,7 +115,7 @@ UTCTime::UTCTime(const std::string &str)
in >> values[i];
}
/* Time */
- if (!in.eof() && in.peek() == 'T')
+ if (in.good() && in.peek() == 'T')
{
for(int i=UTCTIME_HOUR;i<=UTCTIME_SEC && in.good();i++)
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b91f0ee5d78752c676629d341b079fdf1ee418d0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b91f0ee5d78752c676629d341b079fdf1ee418d0
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