Commit 70d5cd10 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e9c4f36c
...@@ -229,7 +229,7 @@ static int mv_read_header(AVFormatContext *avctx) ...@@ -229,7 +229,7 @@ static int mv_read_header(AVFormatContext *avctx)
{ {
MvContext *mv = avctx->priv_data; MvContext *mv = avctx->priv_data;
AVIOContext *pb = avctx->pb; AVIOContext *pb = avctx->pb;
AVStream *ast, *vst; AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning
int version, i; int version, i;
avio_skip(pb, 4); avio_skip(pb, 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment