2021-07-24 02:37:17 +00:00
|
|
|
package c.i.a.c.a2.j0;
|
|
|
|
|
|
|
|
import c.i.a.c.a2.j;
|
|
|
|
import c.i.a.c.a2.j0.i0;
|
|
|
|
import c.i.a.c.a2.w;
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
|
|
import com.google.android.exoplayer2.Format;
|
|
|
|
import java.util.List;
|
|
|
|
/* compiled from: UserDataReader */
|
|
|
|
public final class j0 {
|
|
|
|
public final List<Format> a;
|
|
|
|
public final w[] b;
|
|
|
|
|
|
|
|
public j0(List<Format> list) {
|
|
|
|
this.a = list;
|
|
|
|
this.b = new w[list.size()];
|
|
|
|
}
|
|
|
|
|
|
|
|
public void a(long j, c.i.a.c.i2.w wVar) {
|
|
|
|
if (wVar.a() >= 9) {
|
|
|
|
int f = wVar.f();
|
|
|
|
int f2 = wVar.f();
|
|
|
|
int s2 = wVar.s();
|
|
|
|
if (f == 434 && f2 == 1195456820 && s2 == 3) {
|
|
|
|
AnimatableValueParser.M(j, wVar, this.b);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public void b(j jVar, i0.d dVar) {
|
|
|
|
for (int i = 0; i < this.b.length; i++) {
|
|
|
|
dVar.a();
|
|
|
|
w p = jVar.p(dVar.c(), 3);
|
|
|
|
Format format = this.a.get(i);
|
|
|
|
String str = format.t;
|
|
|
|
boolean z2 = "application/cea-608".equals(str) || "application/cea-708".equals(str);
|
|
|
|
AnimatableValueParser.n(z2, "Invalid closed caption mime type provided: " + str);
|
|
|
|
Format.b bVar = new Format.b();
|
|
|
|
bVar.a = dVar.b();
|
|
|
|
bVar.k = str;
|
|
|
|
bVar.d = format.l;
|
2021-07-27 00:35:07 +00:00
|
|
|
bVar.f2216c = format.k;
|
2021-07-24 02:37:17 +00:00
|
|
|
bVar.C = format.L;
|
|
|
|
bVar.m = format.v;
|
|
|
|
p.e(bVar.a());
|
|
|
|
this.b[i] = p;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|