Commit 036b9ee1 authored by Michael Niedermayer's avatar Michael Niedermayer

oggenc: fix "oggstream may be used uninitialized in this function" warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5068bcda
......@@ -402,7 +402,7 @@ static int ogg_build_opus_headers(AVCodecContext *avctx,
static int ogg_write_header(AVFormatContext *s)
{
OGGContext *ogg = s->priv_data;
OGGStreamContext *oggstream;
OGGStreamContext *oggstream = NULL;
int i, j;
if (ogg->pref_size)
......
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