From: François Cartegnie Date: Thu, 27 Jun 2024 08:08:55 +0000 (+0700) Subject: packetizer: hxxx_common: rename function pointer X-Git-Tag: archive/raspbian/3.0.21-7+rpi1^2~106 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b8f4ee66144c045fefccf4e13e35f3989cd8750;p=vlc.git packetizer: hxxx_common: rename function pointer (cherry picked from commit 6e7b32f64db918b3aa2deefe885571b734d32f53) Gbp-Pq: Name 0020-packetizer-hxxx_common-rename-function-pointer.patch --- 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