diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2016-06-04 14:18:48 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-06-06 15:39:39 +0200 |
commit | 16107aeaf31c443c010a79aaf68a6e0f1e09ef8e (patch) | |
tree | cdcf3689e47fba902f39ab93e4eb768ed8a9c895 | |
parent | 42297d8419cd6cfd145c80b480406d9a910cd8c9 (diff) | |
download | ffmpeg-16107aeaf31c443c010a79aaf68a6e0f1e09ef8e.tar.gz |
avcodec/exr: remove unneed scanline_size var
-rw-r--r-- | libavcodec/exr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 021f70da01..dadbfd641d 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -122,7 +122,6 @@ typedef struct EXRContext { uint32_t ymax, ymin; uint32_t xdelta, ydelta; - uint64_t scan_line_size; int scan_lines_per_block; EXRTileAttribute tile_attr; /* header data attribute of tile */ @@ -1524,8 +1523,6 @@ static int decode_header(EXRContext *s) } } - s->scan_line_size = s->xdelta * s->current_channel_offset; - if (bytestream2_get_bytes_left(&s->gb) <= 0) { av_log(s->avctx, AV_LOG_ERROR, "Incomplete frame.\n"); return AVERROR_INVALIDDATA; |