summaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
Diffstat (limited to 'command')
-rw-r--r--command/decoder.cpp2
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;