Some fields were incorrectly reset (to NULL) when calling avcodec_copy_context().
Patch by Jean-Daniel Dupas, devlists shadowlab org backport r23344 by cehoyos Originally committed as revision 23793 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
This commit is contained in:
parent
b9ebd7dc7d
commit
32fa7cecd7
@ -488,9 +488,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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user