72 lines
2.2 KiB
Java
72 lines
2.2 KiB
Java
package c.i.a.c.b2;
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
import com.google.android.exoplayer2.decoder.DecoderInputBuffer;
|
|
import java.nio.ByteBuffer;
|
|
/* compiled from: BatchBuffer */
|
|
public final class p extends DecoderInputBuffer {
|
|
public long q;
|
|
public int r;
|
|
|
|
/* renamed from: s reason: collision with root package name */
|
|
public int f768s = 32;
|
|
|
|
public p() {
|
|
super(2);
|
|
}
|
|
|
|
@Override // com.google.android.exoplayer2.decoder.DecoderInputBuffer
|
|
public void p() {
|
|
super.p();
|
|
this.r = 0;
|
|
}
|
|
|
|
/* JADX WARNING: Code restructure failed: missing block: B:13:0x0049, code lost:
|
|
if ((r0.remaining() + r3.position()) > 3072000) goto L_0x0028;
|
|
*/
|
|
/* JADX WARNING: Removed duplicated region for block: B:15:0x004e A[RETURN] */
|
|
/* JADX WARNING: Removed duplicated region for block: B:16:0x004f */
|
|
public boolean u(DecoderInputBuffer decoderInputBuffer) {
|
|
boolean z2;
|
|
AnimatableValueParser.k(!decoderInputBuffer.t());
|
|
AnimatableValueParser.k(!decoderInputBuffer.l());
|
|
AnimatableValueParser.k(!decoderInputBuffer.n());
|
|
if (v()) {
|
|
if (this.r < this.f768s && decoderInputBuffer.m() == m()) {
|
|
ByteBuffer byteBuffer = decoderInputBuffer.k;
|
|
if (!(byteBuffer == null || (r3 = this.k) == null)) {
|
|
}
|
|
}
|
|
z2 = false;
|
|
if (z2) {
|
|
return false;
|
|
}
|
|
int i = this.r;
|
|
this.r = i + 1;
|
|
if (i == 0) {
|
|
this.m = decoderInputBuffer.m;
|
|
if (decoderInputBuffer.o()) {
|
|
this.i = 1;
|
|
}
|
|
}
|
|
if (decoderInputBuffer.m()) {
|
|
this.i = Integer.MIN_VALUE;
|
|
}
|
|
ByteBuffer byteBuffer2 = decoderInputBuffer.k;
|
|
if (byteBuffer2 != null) {
|
|
r(byteBuffer2.remaining());
|
|
this.k.put(byteBuffer2);
|
|
}
|
|
this.q = decoderInputBuffer.m;
|
|
return true;
|
|
}
|
|
z2 = true;
|
|
if (z2) {
|
|
}
|
|
}
|
|
|
|
public boolean v() {
|
|
return this.r > 0;
|
|
}
|
|
}
|