Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4307 - trunk/src/http/modules

November 23, 2011 02:24AM
Author: is
Date: 2011-11-23 07:22:15 +0000 (Wed, 23 Nov 2011)
New Revision: 4307

Modified:
trunk/src/http/modules/ngx_http_mp4_module.c
Log:
Fix of mp4 module seeking.


Modified: trunk/src/http/modules/ngx_http_mp4_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_mp4_module.c 2011-11-22 17:02:21 UTC (rev 4306)
+++ trunk/src/http/modules/ngx_http_mp4_module.c 2011-11-23 07:22:15 UTC (rev 4307)
@@ -1899,7 +1899,7 @@
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
"count:%uD, duration:%uD", count, duration);

- if (start_time < count * duration) {
+ if (start_time < (uint64_t) count * duration) {
start_sample += (ngx_uint_t) (start_time / duration);
count -= start_sample;
ngx_mp4_set_32value(entry->count, count);

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4307 - trunk/src/http/modules

Igor Sysoev 1584 November 23, 2011 02:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready