mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-07 22:07:38 +00:00
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:
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user