mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 03:37:00 +00:00
h264: copy nal_length_size in update_thread_context
It does not make sense to copy is_avc without copying this as well. This patch should not change anything for now, but will have an effect in later commits.
This commit is contained in:
parent
440e8dd374
commit
29dcde2b87
@ -510,6 +510,7 @@ int ff_h264_update_thread_context(AVCodecContext *dst,
|
|||||||
|
|
||||||
// extradata/NAL handling
|
// extradata/NAL handling
|
||||||
h->is_avc = h1->is_avc;
|
h->is_avc = h1->is_avc;
|
||||||
|
h->nal_length_size = h1->nal_length_size;
|
||||||
|
|
||||||
// SPS/PPS
|
// SPS/PPS
|
||||||
if ((ret = copy_parameter_set((void **)h->sps_buffers,
|
if ((ret = copy_parameter_set((void **)h->sps_buffers,
|
||||||
|
Loading…
Reference in New Issue
Block a user