Fix StreamHandlerLibav ffmpeg version check

This commit is contained in:
2019-02-27 22:02:19 +00:00
parent 2eec03b23f
commit b3340bb13b
+1 -1
View File
@@ -31,7 +31,7 @@
#include <cstdio> #include <cstdio>
#include <iostream> #include <iostream>
#if( ( LIBAVCODEC_VERSION_MAJOR >= 57 ) && ( LIBAVCODEC_VERSION_MINOR >= 37 ) ) #if( ( LIBAVCODEC_VERSION_MAJOR > 57 ) || ( LIBAVCODEC_VERSION_MAJOR == 57 ) && ( LIBAVCODEC_VERSION_MINOR >= 37 ) )
#define FF_SEND_RECEIVE_API #define FF_SEND_RECEIVE_API
#define FF_USER_CODEC_PARAM #define FF_USER_CODEC_PARAM
#endif #endif