avcodec/cbs: Remove ff_cbs_alloc_unit_content

It is no longer used.
Also rename ff_cbs_alloc_unit_content2 to ff_cbs_alloc_unit_content.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2022-08-04 11:31:18 +02:00
parent 2d722b6638
commit 2ba04bafb4
8 changed files with 11 additions and 40 deletions

View File

@@ -179,7 +179,7 @@ static int cbs_sei_get_unit(CodedBitstreamContext *ctx,
unit = &au->units[position];
unit->type = sei_type;
err = ff_cbs_alloc_unit_content2(ctx, unit);
err = ff_cbs_alloc_unit_content(ctx, unit);
if (err < 0)
return err;