You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
cbs_apv: Always restore tracing state on split fragment error
Fixes CID 1646769.
This commit is contained in:
@ -230,14 +230,14 @@ static int cbs_apv_split_fragment(CodedBitstreamContext *ctx,
|
||||
|
||||
err = cbs_apv_read_pbu_header(ctx, &gbc, &pbu_header);
|
||||
if (err < 0)
|
||||
return err;
|
||||
goto fail;
|
||||
|
||||
// Could select/skip frames based on type/group_id here.
|
||||
|
||||
err = ff_cbs_append_unit_data(frag, pbu_header.pbu_type,
|
||||
data, pbu_size, frag->data_ref);
|
||||
if (err < 0)
|
||||
return err;
|
||||
goto fail;
|
||||
|
||||
data += pbu_size;
|
||||
size -= pbu_size;
|
||||
|
Reference in New Issue
Block a user