mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user