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
(from parent 1:
06344f7
)
cbs_h264: Need [] in the name when subscript is required
author
Haihao Xiang
<haihao.xiang@intel.com>
Fri, 4 May 2018 04:33:39 +0000
(12:33 +0800)
committer
Mark Thompson
<sw@jkqxz.net>
Mon, 7 May 2018 20:32:41 +0000
(21:32 +0100)
Otherwise it will hit an assert in the function
ff_cbs_trace_syntax_element() in cbs.c, line 400.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
libavcodec/cbs_h264_syntax_template.c
patch
|
blob
|
history
diff --git
a/libavcodec/cbs_h264_syntax_template.c
b/libavcodec/cbs_h264_syntax_template.c
index
c3327f6
..
3ec4299
100644
(file)
--- a/
libavcodec/cbs_h264_syntax_template.c
+++ b/
libavcodec/cbs_h264_syntax_template.c
@@
-763,7
+763,7
@@
static int FUNC(sei_payload)(CodedBitstreamContext *ctx, RWContext *rw,
{
allocate(current->payload.other.data, current->payload_size);
for (i = 0; i < current->payload_size; i++)
- xu(8, payload_byte, current->payload.other.data[i], 0, 255, 1, i);
+ xu(8, payload_byte
[i]
, current->payload.other.data[i], 0, 255, 1, i);
}
}