]> git.kaiwu.me - nginx.git/commitdiff
Fix of struct field name.
authorIgor Sysoev <igor@sysoev.ru>
Thu, 15 Sep 2011 05:15:16 +0000 (05:15 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 15 Sep 2011 05:15:16 +0000 (05:15 +0000)
src/http/modules/ngx_http_mp4_module.c

index 4761fbc1dc27939c1ace84c4cb4b90b82f89cd74..892c42e63431239293f771b0fcf657c5b768152e 100644 (file)
@@ -96,8 +96,8 @@ typedef struct {
     ngx_buf_t             stsc_data_buf;
     ngx_buf_t             stsz_atom_buf;
     ngx_buf_t             stsz_data_buf;
-    ngx_buf_t             tsco_atom_buf;
-    ngx_buf_t             tsco_data_buf;
+    ngx_buf_t             stco_atom_buf;
+    ngx_buf_t             stco_data_buf;
 
     ngx_mp4_stsc_entry_t  stsc_chunk_entry;
 } ngx_http_mp4_trak_t;
@@ -2552,12 +2552,12 @@ ngx_http_mp4_read_stco_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size)
     trak = ngx_mp4_last_trak(mp4);
     trak->chunks = entries;
 
-    atom = &trak->tsco_atom_buf;
+    atom = &trak->stco_atom_buf;
     atom->temporary = 1;
     atom->pos = atom_header;
     atom->last = atom_table;
 
-    data = &trak->tsco_data_buf;
+    data = &trak->stco_data_buf;
     data->temporary = 1;
     data->pos = atom_table;
     data->last = atom_end;