Commit e3d8504f authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/hlsenc: Initialize vtt_oc to help static analyzers

This is also more robust in case it ever is used
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 879603fa
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment