1
0
Fork 0
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:
winlin 2017-05-21 19:41:15 +08:00
parent 234904c206
commit 1e3550a52c
3 changed files with 428 additions and 38 deletions

View file

@ -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);