diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/jpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index bf1b110..e44e243 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -1970,6 +1970,8 @@ static int compare(const void* p1, const void* p2) bool jpg_ext(const char ext[]) { + if(!ext) + return false; if(!rb->strcasecmp(ext,".jpg") || !rb->strcasecmp(ext,".jpe") || !rb->strcasecmp(ext,".jpeg")) |