Mercurial > hg > nginx
changeset 4820:49d65c9364fc
Mp4: removed restriction to avc1/mp4a formats (ticket #194).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 17 Aug 2012 11:02:35 +0000 |
parents | 49a3fb31a05c |
children | f1867c1d4c63 |
files | src/http/modules/ngx_http_mp4_module.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_mp4_module.c Fri Aug 17 05:21:28 2012 +0000 +++ b/src/http/modules/ngx_http_mp4_module.c Fri Aug 17 11:02:35 2012 +0000 @@ -1842,14 +1842,6 @@ ngx_mp4_get_32value(stsd_atom->entries), 4, stsd_atom->media_name); - /* supported media format: "avc1" (H.264) and "mp4a" (MPEG-4/AAC) */ - - if (ngx_strncmp(stsd_atom->media_name, "avc1", 4) != 0 - && ngx_strncmp(stsd_atom->media_name, "mp4a", 4) != 0) - { - return NGX_DECLINED; - } - trak = ngx_mp4_last_trak(mp4); atom = &trak->stsd_atom_buf;