mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
MP4: Fix warnings
This commit is contained in:
parent
6e922b9589
commit
721173e6af
2 changed files with 10 additions and 8 deletions
|
@ -2744,10 +2744,10 @@ SrsMp4DataEntryBox* SrsMp4DataReferenceBox::entry_at(int index)
|
|||
return entries.at(index);
|
||||
}
|
||||
|
||||
SrsMp4DataReferenceBox* SrsMp4DataReferenceBox::append(SrsMp4DataEntryBox* v)
|
||||
// Note that box must be SrsMp4DataEntryBox*
|
||||
void SrsMp4DataReferenceBox::append(SrsMp4Box* box)
|
||||
{
|
||||
entries.push_back(v);
|
||||
return this;
|
||||
entries.push_back((SrsMp4DataEntryBox*)box);
|
||||
}
|
||||
|
||||
int SrsMp4DataReferenceBox::nb_header()
|
||||
|
@ -3765,10 +3765,10 @@ SrsMp4SampleEntry* SrsMp4SampleDescriptionBox::entrie_at(int index)
|
|||
return entries.at(index);
|
||||
}
|
||||
|
||||
SrsMp4SampleDescriptionBox* SrsMp4SampleDescriptionBox::append(SrsMp4SampleEntry* v)
|
||||
// Note that box must be SrsMp4SampleEntry*
|
||||
void SrsMp4SampleDescriptionBox::append(SrsMp4Box* box)
|
||||
{
|
||||
entries.push_back(v);
|
||||
return this;
|
||||
entries.push_back((SrsMp4SampleEntry*)box);
|
||||
}
|
||||
|
||||
int SrsMp4SampleDescriptionBox::nb_header()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue