From 71dab7be9124f93e0c811b40ac209cc010a6b3e5 Mon Sep 17 00:00:00 2001 From: Jean-Daniel Dupas Date: Thu, 27 May 2010 01:29:09 +0000 Subject: [PATCH] Some fields were incorrectly reset (to NULL) when calling avcodec_copy_context(). Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 23344 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/options.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/options.c b/libavcodec/options.c index 2655bb0ecb..5a2c281e4c 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -491,9 +491,6 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src) dest->slice_offset = NULL; dest->internal_buffer = NULL; dest->hwaccel = NULL; - dest->execute = NULL; - dest->execute2 = NULL; - dest->reget_buffer = NULL; dest->thread_opaque = NULL; /* reallocate values that should be allocated separately */