I'm trying to compile ffmpeg for Android, but I'm having a problem.When the file is read, it enters the libavformat directory, but when it reads, for example, the avformat.h file, it has some dependencies such as:
#include "libavcodec/codec_par.h"
#include "libavcodec/defs.h"
#include "libavcodec/packet.h"
The problem is that these files are in a different directory.
This is what my android.mk file looks like.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := avformat
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.c)
LOCAL_EXPORT_C_INCLUDES += $(LOCAL_C_INCLUDES)
include $(BUILD_SHARED_LIBRARY)
Can I change something within the android.mk file so that the other files it needs to compile can be "seen"?
