Skip to content

Commit

Permalink
fix proguard minify error (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbeesetti authored Aug 9, 2024
1 parent 4eb79fa commit 50eedfd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import android.annotation.SuppressLint;

import androidx.annotation.Keep;
import androidx.annotation.Nullable;
import androidx.media3.common.C;
import androidx.media3.common.Format;
Expand Down Expand Up @@ -136,6 +137,7 @@ protected FfmpegDecoderException decode(

// Called from native code
/** @noinspection unused*/
@Keep
private ByteBuffer growOutputBuffer(SimpleDecoderOutputBuffer outputBuffer, int requiredSize) {
// Use it for new buffer so that hopefully we won't need to reallocate again
outputBufferSize = requiredSize;
Expand Down

0 comments on commit 50eedfd

Please sign in to comment.