[FFmpeg-cvslog] r23793 - in branches/0.6: . libavcodec/options.c

siretart subversion
Sat Jun 26 16:24:14 CEST 2010


Author: siretart
Date: Sat Jun 26 16:24:14 2010
New Revision: 23793

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

Patch by Jean-Daniel Dupas, devlists shadowlab org 


backport r23344 by cehoyos

Modified:
   branches/0.6/   (props changed)
   branches/0.6/libavcodec/options.c

Modified: branches/0.6/libavcodec/options.c
==============================================================================
--- branches/0.6/libavcodec/options.c	Sat Jun 26 12:03:30 2010	(r23792)
+++ branches/0.6/libavcodec/options.c	Sat Jun 26 16:24:14 2010	(r23793)
@@ -488,9 +488,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