aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_drm.c
diff options
context:
space:
mode:
authorNick Renieris <velocityra@gmail.com>2019-08-29 16:10:45 +0300
committerPaul B Mahol <onemda@gmail.com>2019-09-02 09:26:52 +0200
commitf98a8666de6cdd8426e0ddf0272322498225467d (patch)
tree780e3cb7acb738d434486432b38eb8784122e009 /libavutil/hwcontext_drm.c
parent03f95403eb1105be50a983ef8dd135927d39f407 (diff)
downloadffmpeg-f98a8666de6cdd8426e0ddf0272322498225467d.tar.gz
lavc/tiff: Fix edge case with full-length/width tiles
When the height is equal to the tile length (full-height tile) after `height % tile_length` is applied with the current code, it results in the operating tile_length to be 0. This commit makes this leftover logic only applies if it's necessary. Signed-off-by: Nick Renieris <velocityra@gmail.com>
Diffstat (limited to 'libavutil/hwcontext_drm.c')
0 files changed, 0 insertions, 0 deletions