Browse Source

mcdec: suppress "warning: a/vst may be used uninitialized in this function"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
70d5cd103a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mvdec.c

+ 1
- 1
libavformat/mvdec.c View File

@@ -229,7 +229,7 @@ static int mv_read_header(AVFormatContext *avctx)
{
MvContext *mv = avctx->priv_data;
AVIOContext *pb = avctx->pb;
AVStream *ast, *vst;
AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning
int version, i;

avio_skip(pb, 4);


Loading…
Cancel
Save