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 6C3A840E3F for ; Thu, 9 Jun 2022 23:22:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9E83668B807; Fri, 10 Jun 2022 02:22:12 +0300 (EEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DC69768B778 for ; Fri, 10 Jun 2022 02:22:06 +0300 (EEST) Received: by mail-pf1-f181.google.com with SMTP id z17so22347318pff.7 for ; Thu, 09 Jun 2022 16:22:06 -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=aJGWoeXsioyg4Luo53qQIiEhMWhfRms4RfWdn1tRoh4=; b=OrHpKQiSICNLP268e0Uor1o/HB2WjACIur8TKYRmER5M8ZUdP4e7/ibresFn5ZMfyu 6Z0sZBMhuVWRZPZP0ZZzo/+Ss9oBZdgx4buAToYrLEqBGPZc8igknZQkJPHAZH/sKyVP AhA3nMJ0vNErgY/sZB3J2l+vUG1yiM9l9Rv0lMC+bhriTY1fQ49tWsM+V2GLSCoQ3V4P 8FX1HlXlazhFiy8TUs1ou2ikyTFgtSpMdKvvb8z8vEjJ7pYfIPvpbnqj1Mh8PpSoIJuR Zv9U8H8J4syYWgqcypPa5PIwzEc7y9Iz8Vy2IIgE4bh7ufXNyCDHYDTkIy5v8lpW27Kk 3nYg== 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=aJGWoeXsioyg4Luo53qQIiEhMWhfRms4RfWdn1tRoh4=; b=bGNvYGzHCwcfxjsw52PrnB+j949ahUYJCFTNo0EmelXQQWE/ek0vdrPzmnyUj0ZWgp I+2Ba8X1rYm9M5QB+Sp1P6bRE2w6yeNstESnaf+2adOF9XNAreEd24DQnpWyrgPzgJYw tSSgQOtsPGYzfATmPxL3xqEM9LnkR6NLrkkXIUxYATLTZqTdsJrB+B7jQLgo2JY+S2l8 M9D5P8Ejn2Mg7vKNGViKzbVsxMr2Z7OV1kQTJO2807GIyoCG9078KWapJCCS83IyzxnU +nGwACexLg/lfM1A3nJ20Xhl+TctpHhKEw+J4xe0Jc9cYjvyyq9/lJDCyiKelomYd8EC HKtA== X-Gm-Message-State: AOAM531CCx4PEP38v9ZOoou6JT/bN4QwYbTOsJ1yeZuu/eyJfUMAZCwp K4JM8NJYQzSf0zyQCRxnw0/Hw1lVR8DBkw== X-Google-Smtp-Source: ABdhPJy8A0Qnb0RvHYnNMu+DAl8ERH+65Ex5mPXSbO2vIP3YoTkQWWWCI86Ypfd7NC62hZSK9B2dtg== X-Received: by 2002:a63:8041:0:b0:3fc:6bdc:7320 with SMTP id j62-20020a638041000000b003fc6bdc7320mr36520977pgd.8.1654816925005; Thu, 09 Jun 2022 16:22:05 -0700 (PDT) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id cp17-20020a17090afb9100b001df51e34036sm267685pjb.0.2022.06.09.16.22.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jun 2022 16:22:04 -0700 (PDT) From: softworkz X-Google-Original-From: softworkz Message-Id: Date: Thu, 09 Jun 2022 23:22:03 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] avformat/os_support: use windows stat structs with 64bit time_t 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 --- avformat/os_support: use windows stat structs with 64bit time_t Signed-off-by: softworkz softworkz@hotmail.com Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-35%2Fsoftworkz%2Fsubmit_long_filenames2-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-35/softworkz/submit_long_filenames2-v1 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/35 libavformat/os_support.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 958976cc6f..b419efa408 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -213,7 +213,7 @@ fallback: return _access(filename_utf8, mode); } -static inline void copy_stat(struct _stati64 *crtstat, struct win32_stat *buf) +static inline void copy_stat(struct _stat64 *crtstat, struct win32_stat *buf) { buf->st_dev = crtstat->st_dev; buf->st_ino = crtstat->st_ino; @@ -230,7 +230,7 @@ static inline void copy_stat(struct _stati64 *crtstat, struct win32_stat *buf) static inline int win32_stat(const char *filename_utf8, struct win32_stat *buf) { - struct _stati64 crtstat = { 0 }; + struct _stat64 crtstat = { 0 }; wchar_t *filename_w; int ret; @@ -250,7 +250,7 @@ static inline int win32_stat(const char *filename_utf8, struct win32_stat *buf) static inline int win32_fstat(int fd, struct win32_stat *buf) { - struct _stati64 crtstat = { 0 }; + struct _stat64 crtstat = { 0 }; int ret; ret = _fstat64(fd, &crtstat); base-commit: 5d5a01419928d0c00bae54f730eede150cd5b268 -- 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".