diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-08-17 11:02:35 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-08-17 11:02:35 +0000 |
| commit | 572bca7b837c5aecc4ade3351026b1297f7209cd (patch) | |
| tree | e05c43dec9ff80ef5bd4e369f2ead3d2a67af5e5 | |
| parent | 53b8514f2d1b6a5616344cd12ab7898f1e3e6747 (diff) | |
| download | nginx-572bca7b837c5aecc4ade3351026b1297f7209cd.tar.gz nginx-572bca7b837c5aecc4ade3351026b1297f7209cd.tar.bz2 | |
Mp4: removed restriction to avc1/mp4a formats (ticket #194).
| -rw-r--r-- | src/http/modules/ngx_http_mp4_module.c | 8 |
1 files changed, 0 insertions, 8 deletions
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; |
