From f9615864b419a8e74f4588f618bff98e2c5750a0 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Sun, 19 Sep 2010 12:23:20 +0200 Subject: Added fix for ffmpeg < 52.37.0 --- command/decoder.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command') diff --git a/command/decoder.cpp b/command/decoder.cpp index a6832f4..49174f3 100644 --- a/command/decoder.cpp +++ b/command/decoder.cpp @@ -41,7 +41,9 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src) dest->internal_buffer = NULL; dest->hwaccel = NULL; dest->execute = NULL; +#if LIBAVCODEC_VERSION_INT >= ((52<<16)+(37<<8)+0) dest->execute2 = NULL; +#endif dest->reget_buffer = NULL; dest->thread_opaque = NULL; -- cgit v1.2.3