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

igor at sysoev.ru igor at sysoev.ru
Tue Apr 10 11:27:43 UTC 2012


Author: is
Date: 2012-04-10 11:27:43 +0000 (Tue, 10 Apr 2012)
New Revision: 4579
URL: http://trac.nginx.org/nginx/changeset/4579/nginx

Log:
Fixed previous commit.


Modified:
   trunk/src/http/modules/ngx_http_mp4_module.c

Modified: trunk/src/http/modules/ngx_http_mp4_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_mp4_module.c	2012-04-10 11:21:47 UTC (rev 4578)
+++ trunk/src/http/modules/ngx_http_mp4_module.c	2012-04-10 11:27:43 UTC (rev 4579)
@@ -1910,7 +1910,7 @@
 
         if (start_time < (uint64_t) count * duration) {
             start_sample += (ngx_uint_t) (start_time / duration);
-            count -= start_time;
+            count -= (uint32_t) (start_time / duration);
             ngx_mp4_set_32value(entry->count, count);
             goto found;
         }



More information about the nginx-devel mailing list