mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ DECODER_FUNC(jobject, flacDecodeMetadata, jlong jContext) {
|
||||||
if (picturesValid) {
|
if (picturesValid) {
|
||||||
std::vector<FlacPicture> pictures = context->parser->getPictures();
|
std::vector<FlacPicture> pictures = context->parser->getPictures();
|
||||||
jclass pictureFrameClass = env->FindClass(
|
jclass pictureFrameClass = env->FindClass(
|
||||||
"com/google/android/exoplayer2/metadata/flac/PictureFrame");
|
"com/google/android/exoplayer2/metadata/vorbis/PictureFrame");
|
||||||
jmethodID pictureFrameConstructor =
|
jmethodID pictureFrameConstructor =
|
||||||
env->GetMethodID(pictureFrameClass, "<init>",
|
env->GetMethodID(pictureFrameClass, "<init>",
|
||||||
"(ILjava/lang/String;Ljava/lang/String;IIII[B)V");
|
"(ILjava/lang/String;Ljava/lang/String;IIII[B)V");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue