mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
exr: silence warning "libavcodec/exr.c:351:9: warning: variable ret set but not used"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c31f07574d
commit
7ff3bfd584
@ -348,7 +348,8 @@ static int decode_block(AVCodecContext *avctx, void *tdata,
|
|||||||
const uint8_t *src;
|
const uint8_t *src;
|
||||||
int axmax = (avctx->width - (s->xmax + 1)) * 2 * s->desc->nb_components;
|
int axmax = (avctx->width - (s->xmax + 1)) * 2 * s->desc->nb_components;
|
||||||
int bxmin = s->xmin * 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);
|
line_offset = AV_RL64(s->table + jobnr * 8);
|
||||||
// Check if the buffer has the required bytes needed from the offset
|
// Check if the buffer has the required bytes needed from the offset
|
||||||
|
Loading…
Reference in New Issue
Block a user