diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-13 14:56:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-09 22:22:26 +0200 |
commit | f166a02b67a261ba4fddc5650b235dbd26ae6263 (patch) | |
tree | a4ebe61bcbe6d34ed0c2abcc9534d643bf5ecef4 /libavcodec | |
parent | c5948b472b7ddda5acdad9c9e0f3f7217fb643ad (diff) | |
download | ffmpeg-n1.2.1.tar.gz |
exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"n1.2.1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 7ff3bfd584a732e6b8b601e13d171a0f0200c151)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/exr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 143281751d..d727791561 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 |