[FFmpeg-cvslog] qtrleenc: fix uninitialized variable warnings
Michael Niedermayer
git at videolan.org
Thu Feb 16 20:23:09 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Feb 16 20:11:33 2012 +0100| [8b18288c08fd450601251700eb42d9efbef89803] | committer: Michael Niedermayer
qtrleenc: fix uninitialized variable warnings
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b18288c08fd450601251700eb42d9efbef89803
---
libavcodec/qtrleenc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c
index 9aa2edb..da520bc 100644
--- a/libavcodec/qtrleenc.c
+++ b/libavcodec/qtrleenc.c
@@ -120,13 +120,13 @@ static void qtrle_encode_line(QtrleEncContext *s, AVFrame *p, int line, uint8_t
signed char rlecode;
/* We will use it to compute the best bulk copy sequence */
- unsigned int bulkcount;
+ unsigned int av_uninit(bulkcount);
/* This will be the number of pixels equal to the preivous frame one's
* starting from the ith pixel */
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;
More information about the ffmpeg-cvslog
mailing list