From d5122c96a554e31c887289a8bd940a74712fe061 Mon Sep 17 00:00:00 2001 From: HKXluo Date: Sun, 13 Apr 2025 16:56:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Demo/FFmpegApi-Demo/demo1.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/FFmpegApi-Demo/demo1.lua b/Demo/FFmpegApi-Demo/demo1.lua index 4a475f9..281d42f 100644 --- a/Demo/FFmpegApi-Demo/demo1.lua +++ b/Demo/FFmpegApi-Demo/demo1.lua @@ -23,9 +23,9 @@ local function Get_dfpwm_url(INPUT_URL,API_URL) if not response then error("HTTP Request Failure: "..(err or "Unknown error")) else -- 读取响应 / Read response - local responseData = textutils.unserializeJSON(res.readAll()) + local responseData = textutils.unserializeJSON(response.readAll()) response.close() - + --返回下载链接 / Return download URL if responseData.status ~= "success" then error("Conversion failed:"..(responseData.error or "Unknown error")) else