summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_jpeg.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-04 11:31:18 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-08 11:29:33 +0200
commit2ba04bafb427ea93e3614c0469a6e13e55ac9dc9 (patch)
tree5b1fea598507b7783023e56f04897f9ac8112f72 /libavcodec/cbs_jpeg.c
parent2d722b6638a1b925d7e9e01e45611c450bfcf7ee (diff)
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>
Diffstat (limited to 'libavcodec/cbs_jpeg.c')
-rw-r--r--libavcodec/cbs_jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_jpeg.c b/libavcodec/cbs_jpeg.c
index 2afeecfa79..5921d624a1 100644
--- a/libavcodec/cbs_jpeg.c
+++ b/libavcodec/cbs_jpeg.c
@@ -227,7 +227,7 @@ static int cbs_jpeg_read_unit(CodedBitstreamContext *ctx,
if (err < 0)
return err;
- err = ff_cbs_alloc_unit_content2(ctx, unit);
+ err = ff_cbs_alloc_unit_content(ctx, unit);
if (err < 0)
return err;