comparison src/http/modules/ngx_http_mp4_module.c @ 4107:7705911c9d10

Fix of struct field name.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Sep 2011 05:15:16 +0000
parents 637912848b08
children bc0ca958c270
comparison
equal deleted inserted replaced
4106:637912848b08 4107:7705911c9d10
94 ngx_buf_t stsc_atom_buf; 94 ngx_buf_t stsc_atom_buf;
95 ngx_buf_t stsc_chunk_buf; 95 ngx_buf_t stsc_chunk_buf;
96 ngx_buf_t stsc_data_buf; 96 ngx_buf_t stsc_data_buf;
97 ngx_buf_t stsz_atom_buf; 97 ngx_buf_t stsz_atom_buf;
98 ngx_buf_t stsz_data_buf; 98 ngx_buf_t stsz_data_buf;
99 ngx_buf_t tsco_atom_buf; 99 ngx_buf_t stco_atom_buf;
100 ngx_buf_t tsco_data_buf; 100 ngx_buf_t stco_data_buf;
101 101
102 ngx_mp4_stsc_entry_t stsc_chunk_entry; 102 ngx_mp4_stsc_entry_t stsc_chunk_entry;
103 } ngx_http_mp4_trak_t; 103 } ngx_http_mp4_trak_t;
104 104
105 105
2550 } 2550 }
2551 2551
2552 trak = ngx_mp4_last_trak(mp4); 2552 trak = ngx_mp4_last_trak(mp4);
2553 trak->chunks = entries; 2553 trak->chunks = entries;
2554 2554
2555 atom = &trak->tsco_atom_buf; 2555 atom = &trak->stco_atom_buf;
2556 atom->temporary = 1; 2556 atom->temporary = 1;
2557 atom->pos = atom_header; 2557 atom->pos = atom_header;
2558 atom->last = atom_table; 2558 atom->last = atom_table;
2559 2559
2560 data = &trak->tsco_data_buf; 2560 data = &trak->stco_data_buf;
2561 data->temporary = 1; 2561 data->temporary = 1;
2562 data->pos = atom_table; 2562 data->pos = atom_table;
2563 data->last = atom_end; 2563 data->last = atom_end;
2564 2564
2565 trak->out[NGX_HTTP_MP4_STCO_ATOM].buf = atom; 2565 trak->out[NGX_HTTP_MP4_STCO_ATOM].buf = atom;