]> git.sesse.net Git - ffmpeg/commit
avformat/hlsenc: initialize saveptrs
authorTimo Rothenpieler <timo@rothenpieler.org>
Mon, 26 Mar 2018 12:32:00 +0000 (20:32 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Mon, 26 Mar 2018 22:56:27 +0000 (06:56 +0800)
commit3914c8e0e6bac4ce3b3573c6fd3098e2aa4c9ff5
treee917e18cd491f262c9f56bd9de3211961e10dcca
parentac6e27d74f6a413d400c228b0eb2d3af32c1ea76
avformat/hlsenc: initialize saveptrs

av_strtok calls strspn on a non-NULL *saveptr, so not NULL initializing
it is an issue.
Fixes CID #1428568

Reviewed-by: Karthick Jeyapal <kjeyapal@akamai.com>
Signed-off-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c