mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #821, Parse basic mp4 boxes.
This commit is contained in:
parent
234904c206
commit
1e3550a52c
3 changed files with 428 additions and 38 deletions
|
@ -61,6 +61,7 @@ int parse(std::string mp4_file)
|
|||
SrsSimpleStream* stream = new SrsSimpleStream();
|
||||
SrsAutoFree(SrsSimpleStream, stream);
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
while (true) {
|
||||
SrsMp4Box* box = NULL;
|
||||
SrsAutoFree(SrsMp4Box, box);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue