aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-24 18:21:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-24 18:31:37 +0100
commit70d5cd103a72d9a6a82244bfe9dd82f28cc429fa (patch)
treeed00d1e395e97dc8ec5b19fa7ff5e1f3931f9a74 /libavformat/mvdec.c
parente9c4f36c5282a69b46f63c493cf4fd14293bfa8a (diff)
downloadffmpeg-70d5cd103a72d9a6a82244bfe9dd82f28cc429fa.tar.gz
mcdec: suppress "warning: a/vst may be used uninitialized in this function"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mvdec.c')
-rw-r--r--libavformat/mvdec.c2
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);