mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-02 15:05:09 +00:00
libavutil-dev version 1.0.8 support, requires we conditionalize the avutil/channel_layout.h include
This commit is contained in:
parent
4aff572ed7
commit
67ad7b9c1f
@ -183,6 +183,9 @@ if [ "$HAVE_THREADS" != 'no' ]; then
|
||||
check_pkgconf AVCODEC libavcodec 54
|
||||
check_pkgconf AVFORMAT libavformat 54
|
||||
check_pkgconf AVUTIL libavutil 51
|
||||
if [ "$HAVE_AVUTIL" = 'yes' ]; then
|
||||
check_header AVUTIL_CHANNEL_LAYOUT libavutil/channel_layout.h
|
||||
fi
|
||||
check_pkgconf SWSCALE libswscale 2.1
|
||||
( [ "$HAVE_FFMPEG" = 'auto' ] && ( [ "$HAVE_AVCODEC" = 'no' ] || [ "$HAVE_AVFORMAT" = 'no' ] || [ "$HAVE_AVUTIL" = 'no' ] || [ "$HAVE_SWSCALE" = 'no' ] ) && HAVE_FFMPEG='no' ) || HAVE_FFMPEG='yes'
|
||||
fi
|
||||
|
@ -27,7 +27,9 @@ extern "C" {
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/avconfig.h>
|
||||
#include <libavutil/pixdesc.h>
|
||||
#ifdef AVUTIL_CHANNEL_LAYOUT
|
||||
#include <libavutil/channel_layout.h>
|
||||
#endif
|
||||
#include <libswscale/swscale.h>
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user