Commit 567d078e by sofijajvc Committed by Andrew Lewis

Fix createDecoder method declaration

PiperOrigin-RevId: 263534628
parent 6a122f47
......@@ -228,7 +228,8 @@ public class LibvpxVideoRenderer extends SimpleDecoderVideoRenderer {
VideoDecoderInputBuffer,
? extends VideoDecoderOutputBuffer,
? extends VideoDecoderException>
createDecoder(Format format, ExoMediaCrypto mediaCrypto) throws VideoDecoderException {
createDecoder(Format format, @Nullable ExoMediaCrypto mediaCrypto)
throws VideoDecoderException {
TraceUtil.beginSection("createVpxDecoder");
int initialInputBufferSize =
format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE;
......
......@@ -544,7 +544,8 @@ public abstract class SimpleDecoderVideoRenderer extends BaseRenderer {
VideoDecoderInputBuffer,
? extends VideoDecoderOutputBuffer,
? extends VideoDecoderException>
createDecoder(Format format, ExoMediaCrypto mediaCrypto) throws VideoDecoderException;
createDecoder(Format format, @Nullable ExoMediaCrypto mediaCrypto)
throws VideoDecoderException;
/**
* Dequeues output buffer.
......
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