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 D6A2D40A31 for ; Wed, 2 Feb 2022 22:44:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4E9F568B0FB; Thu, 3 Feb 2022 00:44:27 +0200 (EET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2050.outbound.protection.outlook.com [40.92.21.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 83C4968B0D6 for ; Thu, 3 Feb 2022 00:44:20 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nTo8c9uc4HjAXKAPLQL9b9FVnFfyVUfiN9NhZN5ODFogukkFVLKkOb4ZWCUoe5hwifRUosMx73rBQhR48Y0loy6tCMr8NwxeIbjE3u3Kby49Lbj8uPvE/2lg8jF/PEyamgLuDW2nVTncd8dftxbcGUb7iJerijppgHvuIznbrJX8umKbGgE7a1ctCWkYfi9VGNHwqQRzl5ppja6uJb+80+CWWyPQjjf4DqvmY7tJbAOeJrx5MQSX8GAE/76PFrZ2RYae85y790WNIH3GDMKVahgTT/nD679SS120J6XMMD7WZjpc2cwLMx4/sK4P+Zi3r/0GM1255BI0hgGpR3tdyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dNPMHu6jL26G+tg9MWRZHi+EnDu4Vu9DNsDEn9qvnXg=; b=SgCpTC6KM80cOtEW1koKiPuDGp8FdpdqTzYUBXGJMpfMlh9SQKF+GmIUYngerqaU9E4gUS29hW40iNrJrH443YuDcd74culLKKyduPPiJrsWUEn1Zra/OX+Ru2TZHOUag5yf4zh7oRuk1oDFEuULaDSU8bf9dr37F1h9atkuM7TErlswROwpJgxfnK0pJRXNrHnwi+ClaIjdknIP8ZOFwzP9IDCbafUDdlaO6kNfNao8mKThaZuVt7W3zeJ3iD678NcHbepTKk6lOB1KHx52hA4WbWuVDlf873XfI6MYqxlGBHK4ZI34bDYAwZtVKGa2A25m4b1oKPUhs1CTxcOehg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dNPMHu6jL26G+tg9MWRZHi+EnDu4Vu9DNsDEn9qvnXg=; b=WuGdczEFS0qn+nj2VNaCpm7X6KVi/Mo8Lxv487QqHqxaeyl9LV9YaOI+atuF2/l8eHs0UKLLKBOz1Y+JYupKZe06S/IQaAHpRgomKN2aLn+T91YDTKYkTHgAO4y3xfBYhCNNo2sFTrgo5UTFItIbkI6oC0JxBkXKVVbNNDLcmpagWK5HdX3Jrb0jeB/xNUMAQA0Bg8Wn5WQZYV371eXthZBOgm17izFyERtm8tj43x6EVQJrSNwLRan9t7jhOCEmOaa8Dndcn8K3dCuenL8FV3FqmNK72tKD4lUWY1QcSGWcl7G4b4ddZzAbpaeDIi480xEMtuVv84rcioTxXS6ONg== Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:b::20) by DM8P223MB0127.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.17; Wed, 2 Feb 2022 22:44:18 +0000 Received: from DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::496c:9ebb:f23e:8e6b]) by DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM ([fe80::496c:9ebb:f23e:8e6b%4]) with mapi id 15.20.4930.022; Wed, 2 Feb 2022 22:44:18 +0000 From: Soft Works To: FFmpeg development discussions and patches Thread-Topic: [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: fix handling of backslashes Thread-Index: AQHYCwVRgXvA06Jx3E6UTvILqno24ax/DxUAgAAiirCAAAbTAIAAAGXwgAA3OwCAAEDQIIAA5q2AgAAExGCAAFZm8A== Date: Wed, 2 Feb 2022 22:44:18 +0000 Message-ID: References: <20220116181655.6407-1-oneric@oneric.de> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [/CYryOvG7HbrSQ5o3ZgRlQ2mMhAtjGzi] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fe14c127-e630-4713-56ab-08d9e69d8c08 x-ms-traffictypediagnostic: DM8P223MB0127:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h+MP3xBeYO2KnO2fR82Qv5DQ+X/39QqUyAzu0RIBE8tO0wbG1iHsdp4WKLi2QuS6iJqHkR2ObMGGuRAPzftpBy+IbZOJcP8jQaDOdjSnt6BCc9ZioXCL+F84VAPTyOtEo7bxeWCvVAeUiz0SCDM2Wfk6U1GEt4ENKkHXTTQj2vAnDqQ5hI4BalpyFh5EVEyjdutSF/QT0j/YFozElRh7Du616f+ZejhYmzzOFQe7BcfNrg8LVytb9gsrpbQB/XcmJ4mfHerGK13SNNwiz7CCRFywAQ0FHb5n1DJgXQ+KuJyXmmySnqNB9pKhhlzGM7gYyopR7QKTJAqklgJq8OVaKgw3QCf6HjooCWsmg6KcK/i6xOF0oJYIRCfpRQe4ClbgwHicP+JD9ownPEcf9VHt7Qk040/A7FXU9vrluWHEDqYRuHcfhc2WuyCmKcMavJtLbs8QuuL9xn6RCHO+EMbkULATGWGu4/DAreUebuNwa+7fUnx4+D8NFpX1RJoVc+ht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JYQng4?= =?utf-8?B?OWplODdIaXlBcDI5QzgvS0lDS0s5c2JpTnR3SGp0cWRqN2hsQVREaUdlbEhY?= =?utf-8?B?bzZvb0lZK3B4ZDdhRElnOU1hU1JpdFdUOHZGMXhPdUt4U2crUkVZT2lCb0pk?= =?utf-8?B?U0F5aURNT1pYeDVXWFlCeXdtQmI1Z1ljR1hmVytseDVUZDdtRW41UjhOTGky?= =?utf-8?B?MnFxYWlCNDhha2FTcFNpYS94dVZhdEpkZlJ6M0loTnA4NjZXdmx1dU5sSUQv?= =?utf-8?B?Nk04NGw4c0dqRUcwY043UEVsSXhnYVo2bUV5ekVhcFZKQnNwUTU1ZEdEQndh?= =?utf-8?B?d2lXZnhQMTh3b2tXakJJWEI0Q3hUZ0ExcDZtODVQSmZVWFFsSVRKUlJQNHRK?= =?utf-8?B?Z3UxdkVKZVYrNk1kbkxWVXlsbTJnN05TNUpWWDVOQ01RVDdEV2kvTTczTkd5?= =?utf-8?B?V3oyU09ZTXJyV05EbjY5UTRlaW42WEM2UFBLek1Tb3BNS2RMa2dzb0VYRHJv?= =?utf-8?B?SDRqR09nR09IUC9xNjZQZVo1QnBvSFNsS3ZsS0p3YUcybkdLQT09?= MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-1ff67.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: fe14c127-e630-4713-56ab-08d9e69d8c08 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2022 22:44:18.2621 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8P223MB0127 Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: fix handling of backslashes 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 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: > -----Original Message----- > From: ffmpeg-devel On Behalf Of Soft > Works > Sent: Wednesday, February 2, 2022 11:19 PM > To: FFmpeg development discussions and patches devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: fix > handling of backslashes > > > > > -----Original Message----- > > From: ffmpeg-devel On Behalf Of > > Oneric > > Sent: Wednesday, February 2, 2022 6:03 PM > > To: FFmpeg development discussions and patches > devel@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/{ass, webvttdec}: > fix > > handling of backslashes > > > > It appears my previous mail has been interpreted as some sort of > > attack > > against you; this is not the case. I am sorry for creating such a > > misunderstanding. > > Don't know who said that, but I don't feel attacked. It's about > technical > details and opinions about it. All good. > > > The mail was merely meant to clear up the misconception that it > would > > be > > impossible to send mixed line-endings via mail due to some SMTP > > property > > using some illustrative examples from the current thread. > > (I have no idea how SMTP works in detail) > > Where did you see such misconception? I think almost everybody knows > that this is doable over SMTP in some way, and there are in > fact many ways to do this, even when it would be as stupid like > attaching > as zip archive. > > It's never been a matter of SMTP. It's the GIT tooling in the context > of > "patch-over-SMTP" transport and the way it is using plain-ascii-text > e-mails for this purpose. IMO, this is a design flaw or just a bug > when git-send-email and format-patch are creating output with > transfer-encodings > 7bit/8bit but mixed EOLs. > > I suppose this is due to the tendency of GIT to consider text file > basically > as files with lines of text where the line endings are exchangeable > and > rather a platform detail than part of the text file's content. > And text files with mixed line endings are an accidental side effect > of > multi-platform work and the endings can be re-unified at any time. > That's also the reason why format-patch cannot warn, because > bazillions > of code files exist which have mixed EOLs (accidentally and > exchangeable). > > Yes, yes yes - don't need to respond that GIT can handle those cases > flawlessly and precisely when configured appropriately (and when not > using the e-mail features). That goes without saying. > I'm just speculating about history, why it might have happened that > it doesn't work flawlessly when using e-mail. > > Via e-mail, it only works when using base64 encoding like you said, > but this had only been added at a later time and wasn't part of the > original functionality. Haha, I almost forgot to get to my own point.. >From that situation above, I would conclude that at least at an earlier time, the git developers (when asked about a case like the ffmpeg ref files) might have argued that such files with mixed EOL where the individual EOLs also form a relevant part of the content - are not meant to be handled as text, but as binary files (either) or at to use binary diffs when being send via e-mail. . sw _______________________________________________ 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".