Commit f7634893 authored by Mark Thompson's avatar Mark Thompson

cbs_h265: Fix reading of unknown parameter set extension data

parent 30645174
......@@ -67,7 +67,8 @@ static int FUNC(extension_data)(CodedBitstreamContext *ctx, RWContext *rw,
BitstreamContext start;
uint8_t bit;
start = *rw;
for (k = 0; cbs_h2645_read_more_rbsp_data(rw); k++);
for (k = 0; cbs_h2645_read_more_rbsp_data(rw); k++)
bitstream_skip(rw, 1);
current->bit_length = k;
if (k > 0) {
*rw = start;
......
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