Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix isom_write_avcc (H264)
  • Loading branch information
perexg committed Sep 25, 2015
1 parent a70bdf3 commit 4eab966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/parser_avc.c
Expand Up @@ -107,7 +107,7 @@ isom_write_avcc(sbuf_t *sb, const uint8_t *data, int len)
if (len <= 6)
return 0;

if (RB32(data) != 0x00000001 ||
if (RB32(data) != 0x00000001 &&
RB24(data) != 0x000001) {
sbuf_append(sb, data, len);
return 0;
Expand Down

0 comments on commit 4eab966

Please sign in to comment.