dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Hygiene: use null-coalescing operator when operating on tags"
[lhc/web/wiklou.git]
/
includes
/
media
/
Exif.php
diff --git
a/includes/media/Exif.php
b/includes/media/Exif.php
index
9977f45
..
0fde386
100644
(file)
--- a/
includes/media/Exif.php
+++ b/
includes/media/Exif.php
@@
-290,7
+290,7
@@
class Exif {
$this->byteOrder = 'BE'; // BE seems about twice as popular as LE in jpg's.
}
$this->byteOrder = 'BE'; // BE seems about twice as popular as LE in jpg's.
}
- $this->debugFile(
$this->basename,
__FUNCTION__, true );
+ $this->debugFile( __FUNCTION__, true );
if ( function_exists( 'exif_read_data' ) ) {
Wikimedia\suppressWarnings();
$data = exif_read_data( $this->file, 0, true );
if ( function_exists( 'exif_read_data' ) ) {
Wikimedia\suppressWarnings();
$data = exif_read_data( $this->file, 0, true );
@@
-455,8
+455,7
@@
class Exif {
$val = substr( $this->mFilteredExifData[$prop], 8 );
switch ( $charCode ) {
$val = substr( $this->mFilteredExifData[$prop], 8 );
switch ( $charCode ) {
- case "\x4A\x49\x53\x00\x00\x00\x00\x00":
- // JIS
+ case "JIS\x00\x00\x00\x00\x00":
$charset = "Shift-JIS";
break;
case "UNICODE\x00":
$charset = "Shift-JIS";
break;
case "UNICODE\x00":