Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Was incorrectly counting number of null characters instead of number …
Browse files Browse the repository at this point in the history
…of consecutive null characters.

Refs #223
  • Loading branch information
gbooker committed Aug 10, 2010
1 parent cd51fdb commit 0316c23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bitstream_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ static int decode_nal(const uint8_t *buf, int buf_size, uint8_t *out_buf, int *o
/* This is just a simple escape of 0x00 00 03 */
continue;
}
else
numNulls = 0;
out_buf[outIndex] = buf[i];
outIndex++;
}
Expand Down

0 comments on commit 0316c23

Please sign in to comment.