Fix Odroid-C2 build.

This commit is contained in:
OtherCrashOverride
2017-01-09 23:59:49 -05:00
committed by Iwan Timmer
parent 4bf3137bfc
commit 045e608681
2 changed files with 2 additions and 2 deletions

2
cmake/FindAmlogic.cmake Normal file → Executable file
View File

@@ -1,7 +1,7 @@
find_path(AMLOGIC_INCLUDE_DIR
NAMES codec.h
DOC "Amlogic include directory"
PATHS /usr/local/include/amcodec /usr/include/amcodec)
PATHS /usr/local/include/amcodec /usr/include/amcodec /usr/include/)
mark_as_advanced(AMLOGIC_INCLUDE_DIR)
find_library(AMAVUTILS_LIBRARY

2
src/video/aml.c Normal file → Executable file
View File

@@ -27,7 +27,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <amcodec/codec.h>
#include <codec.h>
#define SYNC_OUTSIDE 0x02
#define UCODE_IP_ONLY_PARAM 0x08