diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-06 00:34:25 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-07 04:46:51 +0200 |
commit | 1bdbc50bf4379d3993b47b8510045e4d236de555 (patch) | |
tree | deeaeb14d342a2c3a71068322362ab23731224e0 /libavcodec/cbs_av1.c | |
parent | fc3f5cd149326b0a478c9a4a34acc22cf757ef02 (diff) | |
download | ffmpeg-1bdbc50bf4379d3993b47b8510045e4d236de555.tar.gz |
avcodec/cbs: Remove unused function parameters
Several cbs-functions had an unused CodedBitstreamContext parameter.
This commit removes these.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/cbs_av1.c')
-rw-r--r-- | libavcodec/cbs_av1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c index dc7be089ac..b2a1d2ded1 100644 --- a/libavcodec/cbs_av1.c +++ b/libavcodec/cbs_av1.c @@ -794,7 +794,7 @@ static int cbs_av1_split_fragment(CodedBitstreamContext *ctx, goto fail; } - err = ff_cbs_insert_unit_data(ctx, frag, -1, header.obu_type, + err = ff_cbs_insert_unit_data(frag, -1, header.obu_type, data, obu_length, frag->data_ref); if (err < 0) goto fail; @@ -887,7 +887,7 @@ static int cbs_av1_read_unit(CodedBitstreamContext *ctx, GetBitContext gbc; int err, start_pos, end_pos; - err = ff_cbs_alloc_unit_content(ctx, unit, sizeof(*obu), + err = ff_cbs_alloc_unit_content(unit, sizeof(*obu), &cbs_av1_free_obu); if (err < 0) return err; |