mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-06 23:40: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:
parent
0f111cc53f
commit
37bcbbd845
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue