From 572bca7b837c5aecc4ade3351026b1297f7209cd Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Fri, 17 Aug 2012 11:02:35 +0000 Subject: Mp4: removed restriction to avc1/mp4a formats (ticket #194). --- src/http/modules/ngx_http_mp4_module.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/http/modules/ngx_http_mp4_module.c') diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index a216c87ef..b864858ea 100644 --- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -1842,14 +1842,6 @@ ngx_http_mp4_read_stsd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size) 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; -- cgit