[FFmpeg-cvslog] exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"
Michael Niedermayer
git at videolan.org
Thu May 9 22:52:30 CEST 2013
ffmpeg | branch: release/1.2 | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 13 14:56:22 2013 +0100| [f166a02b67a261ba4fddc5650b235dbd26ae6263] | committer: Michael Niedermayer
exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 7ff3bfd584a732e6b8b601e13d171a0f0200c151)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f166a02b67a261ba4fddc5650b235dbd26ae6263
---
libavcodec/exr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 1432817..d727791 100644
--- 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
More information about the ffmpeg-cvslog
mailing list