mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
CI: Cover kernel codec av frame and format
This commit is contained in:
parent
2bdba63b0b
commit
3064b941d5
4 changed files with 309 additions and 11 deletions
|
@ -232,10 +232,7 @@ srs_error_t SrsRtpPacket::decode_97(SrsBuffer* stream)
|
|||
int required_size = 0;
|
||||
|
||||
// append left bytes to payload.
|
||||
payload->append(
|
||||
stream->data() + stream->pos() + au_size,
|
||||
stream->size() - stream->pos() - au_size
|
||||
);
|
||||
payload->append(stream->data() + stream->pos() + au_size, stream->size() - stream->pos() - au_size);
|
||||
char* p = payload->bytes();
|
||||
|
||||
for (int i = 0; i < au_size; i += 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue