summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-11-30 19:21:43 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-11-30 19:27:15 +0100
commit2d37cd91c6718316188e7fd99088cda0e627db74 (patch)
tree756102b8ac6f56dbf6281a03ead023205fd0bef9 /src/thumbnail.c
parent2e4fc9018d5776bd63d48c2b4824ef04b3235ebc (diff)
Check magic bytes before passing a file to Imlib2's loader
This works around a regression in Imlib2, which makes (un)loadable file detection quite slow when handling e.g. large video files. See <https://phab.enlightenment.org/T8739> and <https://github.com/derf/feh/issues/505> for details. Closes #505
Diffstat (limited to 'src/thumbnail.c')
0 files changed, 0 insertions, 0 deletions