aboutsummaryrefslogtreecommitdiffstats
path: root/net/minidlna/files/patch-utils-mpo
blob: 0a5221b424a7b613acf25625fcc546486e0133a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Submitted by Vladimir B. Grebenschikov this patch recognizes Samsung's
images as JPEGs.

--- utils.c 2012-01-04 14:16:46.000000000 +0000
+++ utils.c 2012-01-09 00:29:31.000000000 +0000
@@ -261,7 +261,8 @@
 int
 is_image(const char * file)
 {
-   return (ends_with(file, ".jpg") || ends_with(file, ".jpeg"));
+   return (ends_with(file, ".jpg") || ends_with(file, ".jpeg") || 
+           ends_with(file, ".mpo"));
 }
 
 int