Skip to content

Commit

Permalink
mcdec: suppress "warning: a/vst may be used uninitialized in this fun…
Browse files Browse the repository at this point in the history
…ction"

Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Dec 24, 2012
1 parent e9c4f36 commit 70d5cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/mvdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 70d5cd1

Please sign in to comment.