Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
036b9ee1c9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggenc.c

+ 1
- 1
libavformat/oggenc.c View File

@@ -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