aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mmvideo.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-19 14:49:51 +0200
committerDiego Biurrun <diego@biurrun.de>2012-05-07 14:17:41 +0200
commit246b050f51aa3c1ddd5260dee66e7bc56bc02ea1 (patch)
tree9f818f0ab5fcbcb0072e5bfc1464446346cd0295 /libavcodec/mmvideo.c
parentdbe6ba55a320f5880c2b72c349be12164e6e4267 (diff)
downloadffmpeg-246b050f51aa3c1ddd5260dee66e7bc56bc02ea1.tar.gz
mmvideo.c: Remove unused variable in mm_decode_pal().
libavcodec/mmvideo.c:87:9: warning: variable ā€˜iā€™ set but not used
Diffstat (limited to 'libavcodec/mmvideo.c')
-rw-r--r--libavcodec/mmvideo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c
index 6c81fd4ce1..1a9dfdd9ed 100644
--- a/libavcodec/mmvideo.c
+++ b/libavcodec/mmvideo.c
@@ -84,8 +84,7 @@ static int mm_decode_pal(MmContext *s)
*/
static int mm_decode_intra(MmContext * s, int half_horiz, int half_vert)
{
- int i, x, y;
- i=0; x=0; y=0;
+ int x = 0, y = 0;
while (bytestream2_get_bytes_left(&s->gb) > 0) {
int run_length, color;