[FFmpeg-devel] question about with avcodec_copy_context

Jean-Daniel Dupas devlists
Thu Apr 15 17:01:10 CEST 2010


In avcodec_copy_context(), I see that the function reset fields "specific to opened codecs".
Are execute, execute2 and reget_buffer really specific to opened context ? They are set during codec creation (in avcodec_alloc_context) so why are they reset here ? 
As reget_buffer is not set anywhere else, using the copied context with a codec that require this function will make the program crash.

Did I miss something, or is this a bug ? 

-- Jean-Daniel

More information about the ffmpeg-devel mailing list