mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
92c8c0505d
commit
366d6bcb82
7 changed files with 41 additions and 12 deletions
|
@ -4326,6 +4326,9 @@ int SrsMp4Decoder::do_load_next_box(SrsMp4Box** ppbox, uint32_t required_box_typ
|
|||
ret = box->decode(buffer);
|
||||
}
|
||||
|
||||
// Skip the box from stream, move stream to next box.
|
||||
// For mdat box, skip the content in stream or underylayer reader.
|
||||
// For other boxes, skip it from stream because we already decoded it or ignore it.
|
||||
if (ret == ERROR_SUCCESS) {
|
||||
ret = br->skip(box, stream);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue