Skip to content

Commit

Permalink
Fix a couple of print format specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Feb 13, 2023
1 parent 10c015f commit 54f96c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion postprocessing/pp-opus.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ int janus_pp_opus_process(FILE *file, janus_pp_frame_packet *list, int *working)
/* The last block is the primary data, so just update the current
* stored packet with the Opus payload type and the right offset/len */
gens++;
JANUS_LOG(LOG_HUGE, " >> [%d] plen=%"SCNu16"\n", gens, plen);
JANUS_LOG(LOG_HUGE, " >> [%d] plen=%d\n", gens, plen);
tmp->pt = block_pt;
tmp->offset += (payload-buffer);
tmp->len = (plen + 12 + tmp->skip);
Expand Down
2 changes: 1 addition & 1 deletion utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ GList *janus_red_parse_blocks(char *buffer, int len) {
if(plen > 0) {
/* The last block is the primary data, add it to the list */
gens++;
JANUS_LOG(LOG_HUGE, " >> [%d] plen=%"SCNu16"\n", gens, plen);
JANUS_LOG(LOG_HUGE, " >> [%d] plen=%d\n", gens, plen);
rb = g_malloc0(sizeof(janus_red_block));
rb->pt = block_pt;
rb->length = plen;
Expand Down

0 comments on commit 54f96c1

Please sign in to comment.