mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00: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
No EOL
392 B
Text
11 lines
No EOL
392 B
Text
# 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);
|
|
} |