Commit 65be65da authored by Haihao Xiang's avatar Haihao Xiang Committed by Mark Thompson

cbs_h264: Need [] in the name when subscript is required

Otherwise it will hit an assert in the function
ff_cbs_trace_syntax_element() in cbs.c, line 400.
Signed-off-by: 's avatarHaihao Xiang <haihao.xiang@intel.com>
parent 06344f70
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment