From 7b8f4ee66144c045fefccf4e13e35f3989cd8750 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Cartegnie?= Date: Thu, 27 Jun 2024 15:08:55 +0700 Subject: [PATCH] packetizer: hxxx_common: rename function pointer (cherry picked from commit 6e7b32f64db918b3aa2deefe885571b734d32f53) Gbp-Pq: Name 0020-packetizer-hxxx_common-rename-function-pointer.patch --- modules/packetizer/hxxx_common.c | 3 ++- modules/packetizer/hxxx_common.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/packetizer/hxxx_common.c b/modules/packetizer/hxxx_common.c index 3ba7cbcb..a6cacfde 100644 --- a/modules/packetizer/hxxx_common.c +++ b/modules/packetizer/hxxx_common.c @@ -111,7 +111,8 @@ block_t * cc_storage_get_current( cc_storage_t *p_ccs, decoder_cc_desc_t *p_desc * Will prepend a SPS and PPS before each keyframe ****************************************************************************/ block_t *PacketizeXXC1( decoder_t *p_dec, uint8_t i_nal_length_size, - block_t **pp_block, pf_annexb_nal_packetizer pf_nal_parser ) + block_t **pp_block, + pf_annexb_nal_parse pf_nal_parser ) { block_t *p_block; block_t *p_ret = NULL; diff --git a/modules/packetizer/hxxx_common.h b/modules/packetizer/hxxx_common.h index eff2f0b3..93b33c4c 100644 --- a/modules/packetizer/hxxx_common.h +++ b/modules/packetizer/hxxx_common.h @@ -37,8 +37,8 @@ block_t * cc_storage_get_current( cc_storage_t *p_ccs, decoder_cc_desc_t * ); /* */ -typedef block_t * (*pf_annexb_nal_packetizer)(decoder_t *, bool *, block_t *); -block_t *PacketizeXXC1( decoder_t *, uint8_t, block_t **, pf_annexb_nal_packetizer ); +typedef block_t * (*pf_annexb_nal_parse)(decoder_t *, bool *, block_t *); +block_t *PacketizeXXC1( decoder_t *, uint8_t, block_t **, pf_annexb_nal_parse ); #endif // HXXX_COMMON_H -- 2.30.2