summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/native
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-06 23:54:29 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-06 23:54:29 +0000
commitf859d013a883bbba59901303f644fe281454a63d (patch)
treee71729f1990b98ab27a8672e92a656d622c5ab19 /libmpcodecs/native
parentd1d7c653674e32de3a4aa47ee4068c57b288adb7 (diff)
downloadmpv-f859d013a883bbba59901303f644fe281454a63d.tar.bz2
mpv-f859d013a883bbba59901303f644fe281454a63d.tar.xz
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/native')
-rw-r--r--libmpcodecs/native/qtrpza.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmpcodecs/native/qtrpza.c b/libmpcodecs/native/qtrpza.c
index 024bca5b42..6f0db5f921 100644
--- a/libmpcodecs/native/qtrpza.c
+++ b/libmpcodecs/native/qtrpza.c
@@ -130,7 +130,6 @@ void qt_decode_rpza(char *encoded, int encoded_size, char *decoded, int width,
int height, int bytes_per_pixel)
{
- int i;
int stream_ptr = 0;
int chunk_size;
unsigned char opcode;
@@ -145,7 +144,6 @@ void qt_decode_rpza(char *encoded, int encoded_size, char *decoded, int width,
int pixel_ptr = 0;
int pixel_x, pixel_y;
int row_inc = bytes_per_pixel * (width - 4);
- int max_height = row_inc * height;
int block_x_inc = bytes_per_pixel * 4;
int block_y_inc = bytes_per_pixel * width;
int block_ptr;