Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another ADTS header fix in transcoding (length)
  • Loading branch information
perexg committed Jan 13, 2015
1 parent 26b18fe commit e9eadac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plumbing/transcoding.c
Expand Up @@ -343,7 +343,7 @@ create_adts_header(pktbuf_t *pb, int sri, int channels)

put_bits(&bs, 1, 1); // Copyright identification bit
put_bits(&bs, 1, 1); // Copyright identification start
put_bits(&bs, pktbuf_len(pb) + 7, 13);
put_bits(&bs, pktbuf_len(pb), 13);
put_bits(&bs, 0, 11); // Buffer fullness
put_bits(&bs, 0, 2); // RDB in frame
}
Expand Down

0 comments on commit e9eadac

Please sign in to comment.