oggenc: fix "oggstream may be used uninitialized in this function" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5068bcda95
commit
036b9ee1c9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user