diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-24 21:21:46 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-24 21:31:37 +0400 |
commit | 70d5cd103a72d9a6a82244bfe9dd82f28cc429fa (patch) | |
tree | ed00d1e395e97dc8ec5b19fa7ff5e1f3931f9a74 /libavformat | |
parent | e9c4f36c5282a69b46f63c493cf4fd14293bfa8a (diff) |
mcdec: suppress "warning: a/vst may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mvdec.c b/libavformat/mvdec.c index 15e1151163..bb1c5d0dd8 100644 --- a/libavformat/mvdec.c +++ b/libavformat/mvdec.c @@ -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); |