aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qtrleenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-11 14:55:24 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-11 14:55:24 +0000
commitf59f81487439c05d24d712cf7ce60e983fb94117 (patch)
treee8d54c4fd97c99b708a07284b777195be89adf8a /libavcodec/qtrleenc.c
parentdecae20f3662650ecb9602c0c760af275a1e7db3 (diff)
downloadffmpeg-f59f81487439c05d24d712cf7ce60e983fb94117.tar.gz
Add av_uninit macro to variable to avoid false positive warning:
libavcodec/qtrleenc.c: In function ‘qtrle_encode_frame’: libavcodec/qtrleenc.c:113: warning: ‘bulkcount’ may be used uninitialized in this function Originally committed as revision 17155 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qtrleenc.c')
-rw-r--r--libavcodec/qtrleenc.c2
1 files changed, 1 insertions, 1 deletions
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;