diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-09-19 12:23:20 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-09-19 12:23:20 +0200 |
commit | f9615864b419a8e74f4588f618bff98e2c5750a0 (patch) | |
tree | c8874e2c2e2dedc1a9120e128b059891946748af /command/decoder.cpp | |
parent | c6f2168c6a41f73fde037247d3d8792e7ccda9ba (diff) | |
download | vdr-plugin-markad-f9615864b419a8e74f4588f618bff98e2c5750a0.tar.gz vdr-plugin-markad-f9615864b419a8e74f4588f618bff98e2c5750a0.tar.bz2 |
Added fix for ffmpeg < 52.37.0
Diffstat (limited to 'command/decoder.cpp')
-rw-r--r-- | command/decoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |