mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-25 15:58:24 -04:00
Merge pull request #530 from knnniggett/ffmpeg
fixes ftbs with no ffmpeg support
This commit is contained in:
commit
810cf1aed3
1 file changed
+3
-1
+3
-1
@@ -45,11 +45,13 @@ extern "C" {
|
||||
#include <ffmpeg/avcodec.h>
|
||||
#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
|
||||
#else
|
||||
#define _AVCODECID CodecID
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// AVFORMAT
|
||||
#if HAVE_LIBAVFORMAT_AVFORMAT_H
|
||||
|
||||
Reference in new issue
Block a user