[nginx] svn commit: r4298 - trunk/src/http/modules
mdounin at mdounin.ru
mdounin at mdounin.ru
Fri Nov 18 14:41:02 UTC 2011
Author: mdounin
Date: 2011-11-18 14:41:01 +0000 (Fri, 18 Nov 2011)
New Revision: 4298
Log:
Fixed flv header to match specification.
Used "\x5" in 5th byte to claim presence of both audio and video. Used
previous tag size 0 in the beginning of the flv body (bytes 10 .. 13) as
required by specification (see http://www.adobe.com/devnet/f4v.html).
Patch by Piotr Sikora.
Modified:
trunk/src/http/modules/ngx_http_flv_module.c
Modified: trunk/src/http/modules/ngx_http_flv_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_flv_module.c 2011-11-16 13:27:33 UTC (rev 4297)
+++ trunk/src/http/modules/ngx_http_flv_module.c 2011-11-18 14:41:01 UTC (rev 4298)
@@ -23,7 +23,7 @@
};
-static u_char ngx_flv_header[] = "FLV\x1\x1\0\0\0\x9\0\0\0\x9";
+static u_char ngx_flv_header[] = "FLV\x1\x5\0\0\0\x9\0\0\0\0";
static ngx_http_module_t ngx_http_flv_module_ctx = {
More information about the nginx-devel
mailing list