comparison src/http/modules/ngx_http_mp4_module.c @ 6474:2cd019520210

Style.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 30 Mar 2016 11:52:16 +0300
parents 6d468b45f40e
children 3ef7bb882ad4
comparison
equal deleted inserted replaced
6473:9d7326d3f474 6474:2cd019520210
2553 2553
2554 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, 2554 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
2555 "sample:%uD, count:%uD, offset:%uD", 2555 "sample:%uD, count:%uD, offset:%uD",
2556 start_sample, count, ngx_mp4_get_32value(entry->offset)); 2556 start_sample, count, ngx_mp4_get_32value(entry->offset));
2557 2557
2558 if (start_sample <= count) { 2558 if (start_sample <= count) {
2559 rest = start_sample - 1; 2559 rest = start_sample - 1;
2560 goto found; 2560 goto found;
2561 } 2561 }
2562 2562
2563 start_sample -= count; 2563 start_sample -= count;
2564 entries--; 2564 entries--;
2565 entry++; 2565 entry++;
2566 } 2566 }
2567 2567
2568 if (start) { 2568 if (start) {
2569 data->pos = (u_char *) end; 2569 data->pos = (u_char *) end;
2570 trak->composition_offset_entries = 0; 2570 trak->composition_offset_entries = 0;