mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix flac extension
Replace the flac module usage in the FLAC extension with the vorbis module.
This commit is contained in:
parent
f6bee303e7
commit
c2d0649ea3
@ -123,7 +123,7 @@ DECODER_FUNC(jobject, flacDecodeMetadata, jlong jContext) {
|
||||
if (picturesValid) {
|
||||
std::vector<FlacPicture> pictures = context->parser->getPictures();
|
||||
jclass pictureFrameClass = env->FindClass(
|
||||
"com/google/android/exoplayer2/metadata/flac/PictureFrame");
|
||||
"com/google/android/exoplayer2/metadata/vorbis/PictureFrame");
|
||||
jmethodID pictureFrameConstructor =
|
||||
env->GetMethodID(pictureFrameClass, "<init>",
|
||||
"(ILjava/lang/String;Ljava/lang/String;IIII[B)V");
|
||||
|
Loading…
x
Reference in New Issue
Block a user