once more
This commit is contained in:
parent
a6ae54eed1
commit
1251918cff
|
@ -30,7 +30,7 @@ extern "C" {
|
|||
#endif
|
||||
#if HAVE_LIBAVCODEC_AVCODEC_H
|
||||
#include <libavcodec/avcodec.h>
|
||||
#if LIBAVFORMAT_VERSION_INT <= AV_VERSION_INT(53, 21, 0)
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 54
|
||||
#include <libavcodec/opt.h>
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "zm.h"
|
||||
#include "zm_videostore.h"
|
||||
|
||||
#if LIBAVFORMAT_VERSION_INT <= AV_VERSION_INT(53, 21, 0)
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 54
|
||||
|
||||
#define avformat_alloc_output_context2(x,y,z,a) hacked_up_context2_for_older_ffmpeg(x,y,z,a)
|
||||
#define av_err2str(x) ""
|
||||
|
|
Loading…
Reference in New Issue