mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

With FFmpeg we can't determine size of output buffer ahead of time for all codecs, so we need to reallocate it when needed instead of simply failing.
11 lines
392 B
Plaintext
11 lines
392 B
Plaintext
# Proguard rules specific to the FFmpeg extension.
|
|
|
|
# This prevents the names of native methods from being obfuscated.
|
|
-keepclasseswithmembernames class * {
|
|
native <methods>;
|
|
}
|
|
|
|
# This method is called from native code
|
|
-keep class androidx.media3.decoder.ffmpeg.FfmpegAudioDecoder {
|
|
private java.nio.ByteBuffer growOutputBuffer(androidx.media3.decoder.SimpleDecoderOutputBuffer, int);
|
|
} |