once more

This commit is contained in:
Chetan Chauhan 2013-09-25 15:01:00 +00:00
parent a6ae54eed1
commit 1251918cff
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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) ""