package com.google.android.exoplayer2.metadata.id3; import android.os.Parcel; import android.os.Parcelable; import com.google.android.exoplayer2.util.Util; import com.ironsource.mediationsdk.logger.IronSourceError; import java.util.Arrays; /* loaded from: classes2.dex */ public final class MlltFrame extends Id3Frame { public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.MlltFrame.1 @Override // android.os.Parcelable.Creator public MlltFrame createFromParcel(Parcel parcel) { return new MlltFrame(parcel); } @Override // android.os.Parcelable.Creator public MlltFrame[] newArray(int i) { return new MlltFrame[i]; } }; public final int bytesBetweenReference; public final int[] bytesDeviations; public final int millisecondsBetweenReference; public final int[] millisecondsDeviations; public final int mpegFramesBetweenReference; @Override // com.google.android.exoplayer2.metadata.id3.Id3Frame, android.os.Parcelable public int describeContents() { return 0; } public MlltFrame(Parcel parcel) { super("MLLT"); this.mpegFramesBetweenReference = parcel.readInt(); this.bytesBetweenReference = parcel.readInt(); this.millisecondsBetweenReference = parcel.readInt(); this.bytesDeviations = (int[]) Util.castNonNull(parcel.createIntArray()); this.millisecondsDeviations = (int[]) Util.castNonNull(parcel.createIntArray()); } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || MlltFrame.class != obj.getClass()) { return false; } MlltFrame mlltFrame = (MlltFrame) obj; return this.mpegFramesBetweenReference == mlltFrame.mpegFramesBetweenReference && this.bytesBetweenReference == mlltFrame.bytesBetweenReference && this.millisecondsBetweenReference == mlltFrame.millisecondsBetweenReference && Arrays.equals(this.bytesDeviations, mlltFrame.bytesDeviations) && Arrays.equals(this.millisecondsDeviations, mlltFrame.millisecondsDeviations); } public int hashCode() { return ((((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.mpegFramesBetweenReference) * 31) + this.bytesBetweenReference) * 31) + this.millisecondsBetweenReference) * 31) + Arrays.hashCode(this.bytesDeviations)) * 31) + Arrays.hashCode(this.millisecondsDeviations); } @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i) { parcel.writeInt(this.mpegFramesBetweenReference); parcel.writeInt(this.bytesBetweenReference); parcel.writeInt(this.millisecondsBetweenReference); parcel.writeIntArray(this.bytesDeviations); parcel.writeIntArray(this.millisecondsDeviations); } }