Commit d8746c3d by Julian Cable

remove unneeded local variable

parent b0c39a12
......@@ -80,9 +80,8 @@ public interface SubtitleDecoderFactory {
}
if (format.sampleMimeType.equals(MimeTypes.TEXT_SSA)) {
byte[] header = format.initializationData.get(1);
String dlgfmt = new String(format.initializationData.get(0), "UTF-8");
return clazz.asSubclass(SubtitleDecoder.class).getConstructor(byte[].class, String.class)
.newInstance(header, dlgfmt);
.newInstance(header, new String(format.initializationData.get(0), "UTF-8"));
}
else if (format.sampleMimeType.equals(MimeTypes.APPLICATION_CEA608)
|| format.sampleMimeType.equals(MimeTypes.APPLICATION_MP4CEA608)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment