From 1bdbc50bf4379d3993b47b8510045e4d236de555 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 6 Jul 2020 00:34:25 +0200 Subject: avcodec/cbs: Remove unused function parameters Several cbs-functions had an unused CodedBitstreamContext parameter. This commit removes these. Reviewed-by: Mark Thompson Signed-off-by: Andreas Rheinhardt --- libavcodec/cbs_h264.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libavcodec/cbs_h264.h') diff --git a/libavcodec/cbs_h264.h b/libavcodec/cbs_h264.h index 9f7c2a0d30..f54ccd3b36 100644 --- a/libavcodec/cbs_h264.h +++ b/libavcodec/cbs_h264.h @@ -472,8 +472,7 @@ typedef struct CodedBitstreamH264Context { * On success, the payload will be owned by a unit in access_unit; * on failure, the content of the payload will be freed. */ -int ff_cbs_h264_add_sei_message(CodedBitstreamContext *ctx, - CodedBitstreamFragment *access_unit, +int ff_cbs_h264_add_sei_message(CodedBitstreamFragment *access_unit, H264RawSEIPayload *payload); /** @@ -485,8 +484,7 @@ int ff_cbs_h264_add_sei_message(CodedBitstreamContext *ctx, * Requires nal_unit to be a unit in access_unit and position to be >= 0 * and < the payload count of the SEI nal_unit. */ -void ff_cbs_h264_delete_sei_message(CodedBitstreamContext *ctx, - CodedBitstreamFragment *access_unit, +void ff_cbs_h264_delete_sei_message(CodedBitstreamFragment *access_unit, CodedBitstreamUnit *nal_unit, int position); -- cgit v1.2.1