Skip to content
Commit 2d37cd91 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

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
parent 2e4fc901
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment