Ticket #266: mp4_fix_empty_mdat.patch
| File mp4_fix_empty_mdat.patch, 576 bytes (added by , 14 years ago) |
|---|
-
src/http/modules/ngx_http_mp4_module.c
old new 1075 1075 data->in_file = 1; 1076 1076 data->last_buf = 1; 1077 1077 data->last_in_chain = 1; 1078 data->file_last = mp4->offset + atom_data_size; 1078 if (atom_data_size) { 1079 data->file_last = mp4->offset + atom_data_size; 1080 } else { 1081 data->file_last = mp4->end; 1082 } 1079 1083 1080 1084 mp4->mdat_atom.buf = &mp4->mdat_atom_buf; 1081 1085 mp4->mdat_atom.next = &mp4->mdat_data;
