aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/options.c
diff options
context:
space:
mode:
authorJean-Daniel Dupas <devlists@shadowlab.org>2010-05-27 01:29:09 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-05-27 01:29:09 +0000
commit71dab7be9124f93e0c811b40ac209cc010a6b3e5 (patch)
treea42a91962d70761ae5dcd07201ec55d54cfa12ce /libavcodec/options.c
parent867ab7fb0a7010559dca4e122130b5198bad06e0 (diff)
downloadffmpeg-71dab7be9124f93e0c811b40ac209cc010a6b3e5.tar.gz
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
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r--libavcodec/options.c3
1 files changed, 0 insertions, 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 */