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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/9/head
Michael Niedermayer 12 years ago
parent 5068bcda95
commit 036b9ee1c9
  1. 2
      libavformat/oggenc.c

@ -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…
Cancel
Save