Less false positives for MEDIATYPE_VIDEO
Remove the ffmpeg2theora String to suppress false positives when doing type detection on ogg files (Importing pull 23 from github) Bug: 63584 Change-Id: Ib39ed06f895624b55d15a001cb0a2cd3129f4bb0
This commit is contained in:
parent
9e058e0c93
commit
629169ce9b
1 changed files with 1 additions and 1 deletions
|
|
@ -979,7 +979,7 @@ class MimeMagic {
|
|||
$head = fread( $f, 256 );
|
||||
fclose( $f );
|
||||
|
||||
$head = strtolower( $head );
|
||||
$head = str_replace( 'ffmpeg2theora', '', strtolower( $head ) );
|
||||
|
||||
// This is an UGLY HACK, file should be parsed correctly
|
||||
if ( strpos( $head, 'theora' ) !== false ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue