18 lines
546 B
Java
18 lines
546 B
Java
package com.baidu.cloud.videocache;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class y {
|
|
public static f a(String str, a aVar) {
|
|
t.a(str);
|
|
t.a(aVar);
|
|
int a = ad.a(str);
|
|
if (a == 0) {
|
|
return new f(new n(str, aVar.d, aVar.e), new com.baidu.cloud.videocache.file.a(aVar.a(str), aVar.c));
|
|
}
|
|
if (a == 1) {
|
|
return new d(new e(str, aVar.d, aVar.e), new com.baidu.cloud.videocache.file.a(aVar.a(str), aVar.c));
|
|
}
|
|
throw new x("Unsupported media type: " + a);
|
|
}
|
|
}
|