mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avcodec: move some AVCodecContext fields to an internal struct.
A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are used by general libavcodec functions. Moved internal_buffer, internal_buffer_count, and is_copy.
This commit is contained in:
@ -643,9 +643,9 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
|
||||
dest->priv_data = NULL;
|
||||
dest->codec = NULL;
|
||||
dest->slice_offset = NULL;
|
||||
dest->internal_buffer = NULL;
|
||||
dest->hwaccel = NULL;
|
||||
dest->thread_opaque = NULL;
|
||||
dest->internal = NULL;
|
||||
|
||||
/* reallocate values that should be allocated separately */
|
||||
dest->rc_eq = NULL;
|
||||
|
Reference in New Issue
Block a user