projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1563d0
)
xxan: Remove write-only variable in xan_decode_frame_type0().
author
Diego Biurrun
<diego@biurrun.de>
Thu, 19 Apr 2012 12:52:10 +0000
(14:52 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 20 Apr 2012 19:08:35 +0000
(21:08 +0200)
libavcodec/xxan.c:293:13: warning: variable ‘corr_end’ set but not used
libavcodec/xxan.c
patch
|
blob
|
history
diff --git
a/libavcodec/xxan.c
b/libavcodec/xxan.c
index 3526725f65bcbf2687d0077e19a0b157650739a2..575cc34bd1d7362d9261a48762b290a7c8815fb6 100644
(file)
--- 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)