mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-20 23:51:20 +08:00
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:
@@ -878,7 +878,7 @@ static int cbs_av1_read_unit(CodedBitstreamContext *ctx,
|
||||
GetBitContext gbc;
|
||||
int err, start_pos, end_pos;
|
||||
|
||||
err = ff_cbs_alloc_unit_content2(ctx, unit);
|
||||
err = ff_cbs_alloc_unit_content(ctx, unit);
|
||||
if (err < 0)
|
||||
return err;
|
||||
obu = unit->content;
|
||||
|
Reference in New Issue
Block a user