Skip to content

Commit

Permalink
Fixed broken VP8 payload descriptor parsing when 7-bit PictureID are …
Browse files Browse the repository at this point in the history
…used
  • Loading branch information
lminiero committed May 31, 2022
1 parent 6f94342 commit e2816bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,10 +937,10 @@ int janus_vp8_parse_descriptor(char *buffer, int len,
memcpy(&partpicid, buffer, sizeof(uint16_t));
wholepicid = ntohs(partpicid);
partpicid = (wholepicid & 0x7FFF);
if(picid)
*picid = partpicid;
buffer++;
}
if(picid)
*picid = partpicid;
}
if(lbit) {
/* Read the TL0PICIDX octet */
Expand Down

0 comments on commit e2816bf

Please sign in to comment.