Skip to content

Commit

Permalink
Fixed typo when skipping bytes in post-processing
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Dec 14, 2016
1 parent eba63a1 commit 3c6189e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postprocessing/janus-pp-rec.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ int main(int argc, char *argv[])
janus_pp_rtp_header_extension *ext = (janus_pp_rtp_header_extension *)(prebuffer+12);
JANUS_LOG(LOG_VERB, " -- -- RTP extension (type=%"SCNu16", length=%"SCNu16")\n",
ntohs(ext->type), ntohs(ext->length));
skip = 4 + ntohs(ext->length)*4;
skip += 4 + ntohs(ext->length)*4;
}
/* Generate frame packet and insert in the ordered list */
janus_pp_frame_packet *p = g_malloc0(sizeof(janus_pp_frame_packet));
Expand Down

0 comments on commit 3c6189e

Please sign in to comment.