Fix field-can-be-local warnings

PiperOrigin-RevId: 277732159
This commit is contained in:
olly 2019-10-31 16:01:57 +00:00 committed by Oliver Woodman
parent f55083ab48
commit 981008f76e

View File

@ -34,7 +34,6 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer {
/** The default input buffer size. */
private static final int DEFAULT_INPUT_BUFFER_SIZE = 960 * 6;
@Nullable private OpusDecoder decoder;
private int channelCount;
private int sampleRate;
@ -103,7 +102,7 @@ public class LibopusAudioRenderer extends SimpleDecoderAudioRenderer {
throws OpusDecoderException {
int initialInputBufferSize =
format.maxInputSize != Format.NO_VALUE ? format.maxInputSize : DEFAULT_INPUT_BUFFER_SIZE;
decoder =
OpusDecoder decoder =
new OpusDecoder(
NUM_BUFFERS,
NUM_BUFFERS,