diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-04-19 16:52:10 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-04-20 23:08:35 +0400 |
commit | f973a85d4af67165dd1661c347f33ac5d1ef51a3 (patch) | |
tree | e5c66a51c015f3b073ab2f21a15a5ffe722cc0e4 /libavcodec | |
parent | b1563d0cf99a6ac1dd66d8baabe60b1c859a735a (diff) |
xxan: Remove write-only variable in xan_decode_frame_type0().
libavcodec/xxan.c:293:13: warning: variable ‘corr_end’ set but not used
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/xxan.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/xxan.c b/libavcodec/xxan.c index 3526725f65..575cc34bd1 100644 --- a/libavcodec/xxan.c +++ b/libavcodec/xxan.c @@ -290,11 +290,8 @@ static int xan_decode_frame_type0(AVCodecContext *avctx) } if (corr_off) { - int corr_end, dec_size; + int dec_size; - corr_end = (s->gb.buffer_end - s->gb.buffer_start); - if (chroma_off > corr_off) - corr_end = chroma_off; bytestream2_seek(&s->gb, 8 + corr_off, SEEK_SET); dec_size = xan_unpack(s, s->scratch_buffer, s->buffer_size); if (dec_size < 0) |