Skip to content
Snippets Groups Projects
Commit 7d12cc5b authored by Steve Lhomme's avatar Steve Lhomme
Browse files

packetizer: h264: fix potential uninitialized variable warning

parent 8e11c3ea
No related branches found
No related tags found
1 merge request!4567packetizer: h264: fix potential uninitialized variable warning
Pipeline #409002 passed with stage
in 20 minutes and 58 seconds
......@@ -1109,9 +1109,9 @@ static bool PutXPS( decoder_t *p_dec, uint8_t i_nal_type, block_t *p_frag )
block_t **pp_block_dst;
/* all depend on pp_xps_dst */
void **pp_xps_dst = NULL;
const void **pp_active; /* optional */
void * (* pf_decode_xps)(const uint8_t *, size_t, bool);
void (* pf_release_xps)(void *);
const void **pp_active = NULL; /* optional */
void * (* pf_decode_xps)(const uint8_t *, size_t, bool) = NULL;
void (* pf_release_xps)(void *) = NULL;
switch( i_nal_type )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment