mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
cbs_h265: Fix reading of unknown parameter set extension data
This commit is contained in:
parent
30645174e3
commit
f763489364
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user