summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/hlsenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 34fa8484..2a54b43 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -1888,7 +1888,8 @@ static int parse_cc_stream_mapstring(AVFormatContext *s)
{
HLSContext *hls = s->priv_data;
int nb_ccstreams;
- char *p, *q, *saveptr1, *saveptr2, *ccstr, *keyval;
+ char *p, *q, *ccstr, *keyval;
+ char *saveptr1 = NULL, *saveptr2 = NULL;
const char *val;
ClosedCaptionsStream *ccs;
OpenPOWER on IntegriCloud