Welcome! Log In Create A New Profile

Advanced

Maybe Comment Bug

liubin
May 13, 2014 11:02PM
Hi:
As i new to mp4 file format,i confused about the comment.
"send original file if moov atom resides before mdat atom and client requests integral file”
Should the “before” should be changed with “after”?
Sorry about my poor English.


ngx_http_mp4_module.c

static ngx_int_t
ngx_http_mp4_read_moov_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size)
{
ngx_int_t rc;
ngx_uint_t no_mdat;
ngx_buf_t *atom;
ngx_http_mp4_conf_t *conf;

ngx_log_debug0(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "mp4 moov atom");

no_mdat = (mp4->mdat_atom.buf == NULL);

if (no_mdat && mp4->start == 0 && mp4->length == 0) {
/*
* send original file if moov atom resides before
* mdat atom and client requests integral file
*/
return NGX_DECLINED;
}


Best regards,
-yurnero_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Maybe Comment Bug

liubin 584 May 13, 2014 11:02PM

Re: Maybe Comment Bug

Roman Arutyunyan 346 May 14, 2014 01:54AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 143
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready