mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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