{
if (coder.open(null, null) < 0)
throw new RuntimeException("could not open coder for stream: "
+ streamIndex);
mOpenedStreams.add(stream);
super.onOpenCoder(new OpenCoderEvent(this, stream.getIndex()));
stream = null;
}
} finally {
if (stream != null)
stream.delete();