mjpeg-consumer
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -46,3 +46,3 @@ var util = require('util'); | ||
if (this.hasContentLength && this.initialized && this.bytesWritten < this.totalBytes) { | ||
remaining = this.totalBytes - this.bytesWritten | ||
remaining = this.totalBytes - this.bytesWritten; | ||
chunk.copy(this.buffer, this.bytesWritten, 0, remaining); | ||
@@ -58,3 +58,3 @@ this.bytesWritten += remaining; | ||
if (end !== -1) { | ||
this.concatImageBytes(chunk.slice(0, end)); | ||
this.concatImageBytes(chunk.slice(0, end + eoi.length)); | ||
this.eoiFound = true; | ||
@@ -61,0 +61,0 @@ } |
{ | ||
"name": "mjpeg-consumer", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "a stream implementation that consumes http mjpeg streams and emits jpegs as buffers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7113