summaryrefslogtreecommitdiff
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-04-12 19:08:23 +0200
committerAnton Khirnov <anton@khirnov.net>2015-04-29 05:52:58 +0200
commit29dcde2b87559b72957454a7e9bcd5227d8057ba (patch)
treea9f3ecb5932577ad16ea1199ec9a5168ad8bdd69 /libavcodec/h264_slice.c
parent440e8dd374b732c48d564d9f1bb0ec3b1b786fb9 (diff)
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.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r--libavcodec/h264_slice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 4623dd99fa..a760068d0b 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -510,6 +510,7 @@ int ff_h264_update_thread_context(AVCodecContext *dst,
// extradata/NAL handling
h->is_avc = h1->is_avc;
+ h->nal_length_size = h1->nal_length_size;
// SPS/PPS
if ((ret = copy_parameter_set((void **)h->sps_buffers,