[FFmpeg-cvslog] r23344 - trunk/libavcodec/options.c

cehoyos subversion
Thu May 27 03:29:09 CEST 2010


Author: cehoyos
Date: Thu May 27 03:29:09 2010
New Revision: 23344

Log:
Some fields were incorrectly reset (to NULL) when calling avcodec_copy_context().

Patch by Jean-Daniel Dupas, devlists shadowlab org

Modified:
   trunk/libavcodec/options.c

Modified: trunk/libavcodec/options.c
==============================================================================
--- trunk/libavcodec/options.c	Thu May 27 02:31:45 2010	(r23343)
+++ trunk/libavcodec/options.c	Thu May 27 03:29:09 2010	(r23344)
@@ -491,9 +491,6 @@ int avcodec_copy_context(AVCodecContext 
     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 */



More information about the ffmpeg-cvslog mailing list