Merge pull request #530 from knnniggett/ffmpeg
fixes ftbs with no ffmpeg support
This commit is contained in:
commit
810cf1aed3
|
@ -45,11 +45,13 @@ extern "C" {
|
||||||
#include <ffmpeg/avcodec.h>
|
#include <ffmpeg/avcodec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_LIBAVCODEC_AVCODEC_H) && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54,25,0)
|
#if defined(HAVE_LIBAVCODEC_AVCODEC_H)
|
||||||
|
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54,25,0)
|
||||||
#define _AVCODECID AVCodecID
|
#define _AVCODECID AVCodecID
|
||||||
#else
|
#else
|
||||||
#define _AVCODECID CodecID
|
#define _AVCODECID CodecID
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// AVFORMAT
|
// AVFORMAT
|
||||||
#if HAVE_LIBAVFORMAT_AVFORMAT_H
|
#if HAVE_LIBAVFORMAT_AVFORMAT_H
|
||||||
|
|
Loading…
Reference in New Issue