From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 36A13434D4 for ; Mon, 13 Jun 2022 23:43:06 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BAA0C68B5C5; Tue, 14 Jun 2022 02:43:03 +0300 (EEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7D64B68B4F2 for ; Tue, 14 Jun 2022 02:42:57 +0300 (EEST) Received: by mail-pg1-f169.google.com with SMTP id h192so6982408pgc.4 for ; Mon, 13 Jun 2022 16:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:date:subject:fcc:content-transfer-encoding :mime-version:to:cc; bh=WYCKTEPu+nKTik+Q0U9Pmj5hOo4hj5WRxpj3+t2uS9I=; b=k2gXtJeCbs0Z82Y27GVXUXQnOnS2MgjAGsMYn0+icBh3b5g4O0kuVmja0xQmNGMsXV ayed/ZfAD7D1+fIxb0nio9KwLPNPdt1SX7LrgfuD8u4jwNO+nEVzaSUBXwNUz4vl1OTz GYJMxczs4L9tctcIpn1Yz/6gGT0zMFiI9fO6RLl6BpKwvYjQJe4dabDs2IwH33MG32zp +Et4EpsKmljdlqk6Mzit7W/JYZirZgu4XNNrAK6g+u3gkBTji2UCF/eGD34I0DXZ51Dg hsRt8uzkzbPeW8iy0BHOcKj+v/mboCrTP7Mtgj5jAQnuFo7u2eCu7LbACQrrVnU/FFga tI0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=WYCKTEPu+nKTik+Q0U9Pmj5hOo4hj5WRxpj3+t2uS9I=; b=lc2y8MGeteXZzlRD74AtkFUDC6yTNpwrL4H70Ejmju7wpqtDrYoL4Tyun6Gwd/hbGj zdqXAgbt1Ji8ACOC2pvEEbExYrV4vk0Cd3DWDilY6r7lDacKaaGHrCWfiYakdsgqCt19 zpiscyU4bNwV4U38qjkDfZBc3HKahL1McNO0x/BI3hpHiKvySVcuIm2nMdeL69WJfz4t ZvNPcPs+SUgBx+H9Sx+Oj0ySBENG2C2pYNUbE7Gn9lduMjz/3lJmP+U8lM69FiL1za/L AijxaBPSvL3gmLl+kWoub+buzwO37LXF/ex5Q2C5SUvLev9IxRyCFWagbqAMvWXS/5iQ YTyA== X-Gm-Message-State: AOAM531Ad0dl9ImSiABYW2Uw38038gdc9D4Uizugnj1/pd+ID+2scMGl y7FZTmAdfVquRr3XbuN0yz90nL4uvs+FJg== X-Google-Smtp-Source: ABdhPJzncIdo7BqpHuAex/8DFIfxqiA8kQCmRF6gcBqrDho/38PoGuHm+26H383P4ATzEqRQG38JaQ== X-Received: by 2002:a63:1809:0:b0:408:417a:6fa5 with SMTP id y9-20020a631809000000b00408417a6fa5mr1855763pgl.228.1655163775330; Mon, 13 Jun 2022 16:42:55 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id t188-20020a6281c5000000b0051ba7515e0dsm3030886pfd.54.2022.06.13.16.42.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jun 2022 16:42:54 -0700 (PDT) From: softworkz X-Google-Original-From: softworkz Message-Id: Date: Mon, 13 Jun 2022 23:42:53 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] fftools/fopen_utf8: support long paths on Windows for fftools X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: softworkz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: softworkz Signed-off-by: softworkz --- fftools/fopen_utf8: support long paths on Windows for fftools After Nil's patchset, this is probably the final missing bit. Signed-off-by: softworkz softworkz@hotmail.com Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-36%2Fsoftworkz%2Fsubmit_fftools_long_paths-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-36/softworkz/submit_fftools_long_paths-v1 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/36 fftools/fopen_utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/fopen_utf8.h b/fftools/fopen_utf8.h index cd18fe8ce1..e5be84179a 100644 --- a/fftools/fopen_utf8.h +++ b/fftools/fopen_utf8.h @@ -35,7 +35,7 @@ static inline FILE *fopen_utf8(const char *path_utf8, const char *mode) FILE *f; /* convert UTF-8 to wide chars */ - if (utf8towchar(path_utf8, &path_w)) /* This sets errno on error. */ + if (get_extended_win32_path(path_utf8, &path_w)) /* This sets errno on error. */ return NULL; if (!path_w) goto fallback; base-commit: 4d45f5acbd9ab55cd8d29d01843f28315ee27fee -- ffmpeg-codebot _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".