mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Use equals rather than == for string equality
This commit is contained in:
parent
4237e3d391
commit
b9224160a3
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ public final class MediaFormat {
|
||||||
|| pixelWidthHeightRatio != other.pixelWidthHeightRatio
|
|| pixelWidthHeightRatio != other.pixelWidthHeightRatio
|
||||||
|| maxWidth != other.maxWidth || maxHeight != other.maxHeight
|
|| maxWidth != other.maxWidth || maxHeight != other.maxHeight
|
||||||
|| channelCount != other.channelCount || sampleRate != other.sampleRate
|
|| channelCount != other.channelCount || sampleRate != other.sampleRate
|
||||||
|| trackId != other.trackId || !Util.areEqual(language, other.language)
|
|| !Util.areEqual(trackId, other.trackId) || !Util.areEqual(language, other.language)
|
||||||
|| !Util.areEqual(mimeType, other.mimeType)
|
|| !Util.areEqual(mimeType, other.mimeType)
|
||||||
|| initializationData.size() != other.initializationData.size()) {
|
|| initializationData.size() != other.initializationData.size()) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue