Fix flac extension

Replace the flac module usage in the FLAC extension with the vorbis
module.
This commit is contained in:
OxygenCobalt 2022-01-18 06:28:02 -07:00
parent f6bee303e7
commit c2d0649ea3
No known key found for this signature in database
GPG Key ID: 37DBE3621FE9AD47

View File

@ -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");