git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
440e8dd
)
h264: copy nal_length_size in update_thread_context
author
Anton Khirnov
<anton@khirnov.net>
Sun, 12 Apr 2015 17:08:23 +0000
(19:08 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Wed, 29 Apr 2015 03:52:58 +0000
(
05:52
+0200)
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.
libavcodec/h264_slice.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_slice.c
b/libavcodec/h264_slice.c
index
4623dd9
..
a760068
100644
(file)
--- 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,