]> git.sesse.net Git - ffmpeg/commit
avformat/hls: change sequence number type to int64_t
authorZhao Zhili <quinkblack@foxmail.com>
Sat, 16 Jan 2021 03:40:36 +0000 (11:40 +0800)
committerliuqi05 <liuqi05@kuaishou.com>
Sun, 24 Jan 2021 02:55:29 +0000 (10:55 +0800)
commit47327aa2d9f4e54c50ee94f603bc50cad34c9b4d
treeb1f748cc53c7a236d885ae92ef4b457d56b1b106
parent5d8e86d15a23202fd42960b314b8427f3e785676
avformat/hls: change sequence number type to int64_t

Fix atoi() overflow for large EXT-X-MEDIA-SEQUENCE.

The spec says the type of sequence number is uint64_t. Use int64_t
here since current implementation requires it to be signed integer,
and hlsenc use int64_t too.
libavformat/hls.c