From f59f81487439c05d24d712cf7ce60e983fb94117 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 11 Feb 2009 14:55:24 +0000 Subject: [PATCH] =?UTF-8?q?Add=20av=5Funinit=20macro=20to=20variable=20to?= =?UTF-8?q?=20avoid=20false=20positive=20warning:=20libavcodec/qtrleenc.c:?= =?UTF-8?q?=20In=20function=20=E2=80=98qtrle=5Fencode=5Fframe=E2=80=99:=20?= =?UTF-8?q?libavcodec/qtrleenc.c:113:=20warning:=20=E2=80=98bulkcount?= =?UTF-8?q?=E2=80=99=20may=20be=20used=20uninitialized=20in=20this=20funct?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 17155 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/qtrleenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c index d38720d23f..171ac25b48 100644 --- a/libavcodec/qtrleenc.c +++ b/libavcodec/qtrleenc.c @@ -116,7 +116,7 @@ static void qtrle_encode_line(QtrleEncContext *s, AVFrame *p, int line, uint8_t unsigned int skipcount; /* This will be the number of consecutive equal pixels in the current * frame, starting from the ith one also */ - unsigned int repeatcount; + unsigned int av_uninit(repeatcount); /* The cost of the three different possibilities */ int total_bulk_cost;