Closed trycatchx closed 6 years ago
I downloaded the latest source code of ffmpeg,and I Compile it, I get this exception :
G:/FFmpegMediaMetadataRetriever-1.0.14/fmmr-library/library/src/main//jni/metadata/wseemann_media_MediaMetadataRetriever.cpp:504: error: undefined reference to 'av_register_all()'
How to fix it?
i modified wseemann_media_MediaMetadataRetriever.cpp
old code:
#include <mediametadataretriever.h>
extern "C" {
#include "ffmpeg_mediametadataretriever.h"
}
Modified code:
extern "C" {
#include "mediametadataretriever.h"
#include "ffmpeg_mediametadataretriever.h"
}
the same to mediametadataretriever.cpp
Finally, I solved it.