packetizer: hxxx_common: rename function pointer
authorFrançois Cartegnie <fcvlcdev@free.fr>
Thu, 27 Jun 2024 08:08:55 +0000 (15:08 +0700)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)
(cherry picked from commit 6e7b32f64db918b3aa2deefe885571b734d32f53)

Gbp-Pq: Name 0020-packetizer-hxxx_common-rename-function-pointer.patch

modules/packetizer/hxxx_common.c
modules/packetizer/hxxx_common.h

index 3ba7cbcb037568bcf6aa0101a6d74fcb63c44f14..a6cacfde15a1c239871d04d39104effa31a7e99f 100644 (file)
@@ -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;
index eff2f0b3c272588309c25a0f289a9ae60e73333a..93b33c4c4433a2a8408f118cd02dfb53a6bb5a59 100644 (file)
@@ -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