mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #738, add srs ingest mp4
This commit is contained in:
parent
34a8eb6113
commit
858951da49
3 changed files with 209 additions and 6 deletions
|
@ -25,6 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <srs_kernel_log.hpp>
|
||||
#include <srs_kernel_error.hpp>
|
||||
|
||||
SrsMp4Box::SrsMp4Box()
|
||||
|
@ -434,9 +435,11 @@ SrsMp4Decoder::~SrsMp4Decoder()
|
|||
|
||||
int SrsMp4Decoder::initialize(ISrsReader* r)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
srs_assert(r);
|
||||
reader = r;
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue