Commit 8a0c1f83 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17155 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ee032593
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment