avformat/hls: fix double space

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9e974b2c45)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer committed 2026-05-05 15:20:56 +02:00
1 parent 0f111cc53f
commit 37bcbbd845
1 file changed
+1 -1
+1 -1
View File
@@ -965,7 +965,7 @@ static int parse_playlist(HLSContext *c, const char *url,
ptr = strchr(ptr, '@');
if (ptr)
seg_offset = strtoll(ptr+1, NULL, 10);
if (seg_size < 0 || seg_offset > INT64_MAX - seg_size) {
if (seg_size < 0 || seg_offset > INT64_MAX - seg_size) {
ret = AVERROR_INVALIDDATA;
goto fail;
}