Skip to content

Instantly share code, notes, and snippets.

View oikomi's full-sized avatar
💭
I may be slow to respond.

Harold Miao oikomi

💭
I may be slow to respond.
View GitHub Profile
@oikomi
oikomi / gist:6194ef2ee8a5c5a55375
Created August 4, 2014 09:36
[patch]nginx mp4 module about "keyframe aligning"
Index: bundle/nginx-1.4.3/src/http/modules/ngx_http_mp4_module.c
===================================================================
--- bundle/nginx-1.4.3/src/http/modules/ngx_http_mp4_module.c (revision 126116)
+++ bundle/nginx-1.4.3/src/http/modules/ngx_http_mp4_module.c (working copy)
@@ -129,6 +129,7 @@
off_t end;
off_t content_length;
ngx_uint_t start;
+ ngx_uint_t old_start;
ngx_uint_t length;