dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6845c3f
)
Merge "Less false positives for MEDIATYPE_VIDEO"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sun, 29 Jun 2014 23:40:20 +0000
(23:40 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sun, 29 Jun 2014 23:40:20 +0000
(23:40 +0000)
includes/MimeMagic.php
patch
|
blob
|
history
diff --git
a/includes/MimeMagic.php
b/includes/MimeMagic.php
index
f4d4697
..
c2ac186
100644
(file)
--- a/
includes/MimeMagic.php
+++ b/
includes/MimeMagic.php
@@
-994,7
+994,7
@@
class MimeMagic {
$head = fread( $f, 256 );
fclose( $f );
- $head = str
tolower( $head
);
+ $head = str
_replace( 'ffmpeg2theora', '', strtolower( $head )
);
// This is an UGLY HACK, file should be parsed correctly
if ( strpos( $head, 'theora' ) !== false ) {