OSDN Git Service

dfa: Remove unused variable.
authorDiego Biurrun <diego@biurrun.de>
Sun, 15 May 2011 11:12:47 +0000 (13:12 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sun, 15 May 2011 11:12:47 +0000 (13:12 +0200)
This fixes the warning:
libavcodec/dfa.c:189: warning: unused variable ‘frame_end’

libavcodec/dfa.c

index 1556bc7..919375b 100644 (file)
@@ -186,7 +186,6 @@ static int decode_dds1(uint8_t *frame, int width, int height,
 static int decode_bdlt(uint8_t *frame, int width, int height,
                        const uint8_t *src, const uint8_t *src_end)
 {
-    const uint8_t *frame_end = frame + width * height;
     uint8_t *line_ptr;
     int count, lines, segments;