Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzadu.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

60 lines
1.6 KiB
Java

package com.google.android.gms.internal.ads;
import androidx.annotation.Nullable;
import java.io.IOException;
/* loaded from: classes3.dex */
public final class zzadu {
private final byte[] zza = new byte[10];
private boolean zzb;
private int zzc;
private long zzd;
private int zze;
private int zzf;
private int zzg;
public final void zza(zzadt zzadtVar, @Nullable zzads zzadsVar) {
if (this.zzc > 0) {
zzadtVar.zzt(this.zzd, this.zze, this.zzf, this.zzg, zzadsVar);
this.zzc = 0;
}
}
public final void zzb() {
this.zzb = false;
this.zzc = 0;
}
public final void zzc(zzadt zzadtVar, long j, int i, int i2, int i3, @Nullable zzads zzadsVar) {
zzcw.zzg(this.zzg <= i2 + i3, "TrueHD chunk samples must be contiguous in the sample queue.");
if (this.zzb) {
int i4 = this.zzc;
int i5 = i4 + 1;
this.zzc = i5;
if (i4 == 0) {
this.zzd = j;
this.zze = i;
this.zzf = 0;
}
this.zzf += i2;
this.zzg = i3;
if (i5 >= 16) {
zza(zzadtVar, zzadsVar);
}
}
}
public final void zzd(zzaco zzacoVar) throws IOException {
if (this.zzb) {
return;
}
zzacoVar.zzh(this.zza, 0, 10);
zzacoVar.zzj();
byte[] bArr = this.zza;
int i = zzabn.zza;
if (bArr[4] == -8 && bArr[5] == 114 && bArr[6] == 111 && (bArr[7] & 254) == 186) {
this.zzb = true;
}
}
}