Commit 47483a49 authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Fix again ffmpeg old/new version api

parent 1a69168c
......@@ -72,6 +72,9 @@ static inline int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
#if (LIBAVCODEC_VERSION_MAJOR >= 56)
#include <libavcodec/old_codec_ids.h>
#endif
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54,25,0)
#define CodecID AVCodecID
#endif
#ifdef FF_API_ALLOC_CONTEXT
#if !FF_API_ALLOC_CONTEXT
AVCodecContext *avcodec_alloc_context(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment