Skip to content

Commit

Permalink
upipe_rtp_pcm_pack: fix uninitialized values
Browse files Browse the repository at this point in the history
  • Loading branch information
quarium committed Jul 30, 2024
1 parent 2c3af10 commit 2a64ed6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/upipe-modules/upipe_rtp_pcm_pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ static struct upipe *upipe_rtp_pcm_pack_alloc(struct upipe_mgr *mgr,
upipe_rtp_pcm_pack_init_uref_stream(upipe);
upipe_rtp_pcm_pack_init_output(upipe);

struct upipe_rtp_pcm_pack *upipe_rtp_pcm_pack = upipe_rtp_pcm_pack_from_upipe(upipe);
upipe_rtp_pcm_pack->output_time = 0;
upipe_rtp_pcm_pack->output_samples = 0;

return upipe;
}

Expand Down

0 comments on commit 2a64ed6

Please sign in to comment.