OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c31f075
)
exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 13 Mar 2013 13:56:22 +0000
(14:56 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 13 Mar 2013 14:05:40 +0000
(15:05 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/exr.c
patch
|
blob
|
history
diff --git
a/libavcodec/exr.c
b/libavcodec/exr.c
index
cc0995c
..
9b93e3f
100644
(file)
--- a/
libavcodec/exr.c
+++ b/
libavcodec/exr.c
@@
-348,7
+348,8
@@
static int decode_block(AVCodecContext *avctx, void *tdata,
const uint8_t *src;
int axmax = (avctx->width - (s->xmax + 1)) * 2 * s->desc->nb_components;
int bxmin = s->xmin * 2 * s->desc->nb_components;
- int ret, i, x, buf_size = s->buf_size;
+ int i, x, buf_size = s->buf_size;
+ int av_unused ret;
line_offset = AV_RL64(s->table + jobnr * 8);
// Check if the buffer has the required bytes needed from the offset