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>
This commit is contained in:
parent
879603fa3f
commit
e3d8504fd0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user