ws-video-codecs: mjpeg fixtures as base64 / zlib (8.6 -> 1.0 MB); codecs/Jpeg: no type assertion as an assignment target (darklua)
This commit is contained in:
1 parent
2493b9db36
commit
87d22bf67a
3 files changed
+51
-17
No files matched your search
@@ -296,7 +296,8 @@ function Jpeg.decode(buf: buffer, off: number?, len: number?, opts: DecodeOption
|
||||
local truncated = img.meta.truncated or b.meta.truncated
|
||||
img = weave(img, b)
|
||||
img.meta.truncated = truncated
|
||||
(img.meta.source :: any).fields = 2
|
||||
local source: any = img.meta.source
|
||||
source.fields = 2
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user