diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-03 11:14:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-03 11:28:29 +0200 |
commit | e3d8504fd043bdc2535525128b158fbc1fb18c67 (patch) | |
tree | e3e3e6a68399ba6649549389fb5c682147acfac6 /libavformat | |
parent | 879603fa3f8d99d084ae470f7c804df8373da0b6 (diff) | |
download | ffmpeg-e3d8504fd043bdc2535525128b158fbc1fb18c67.tar.gz |
avformat/hlsenc: Initialize vtt_oc to help static analyzers
This is also more robust in case it ever is used
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index fea5ef8586..861faf9dee 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -253,7 +253,7 @@ static int hls_mux_init(AVFormatContext *s) { HLSContext *hls = s->priv_data; AVFormatContext *oc; - AVFormatContext *vtt_oc; + AVFormatContext *vtt_oc = NULL; int i, ret; ret = avformat_alloc_output_context2(&hls->avf, hls->oformat, NULL, NULL); |