From 1f94c31f69e6eb7eee80d0a3b42875261a18dcbe Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 3 Jun 2011 13:40:54 +0200 Subject: rawdec: initialize return value to 0. --- libavformat/rawdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 87583e1cd9..3d8125f42c 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -70,7 +70,7 @@ int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap) } case AVMEDIA_TYPE_VIDEO: { FFRawVideoDemuxerContext *s1 = s->priv_data; - int width = 0, height = 0, ret; + int width = 0, height = 0, ret = 0; enum PixelFormat pix_fmt; if(ap->time_base.num) -- cgit v1.2.3