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 CCF3B408B1 for ; Thu, 3 Mar 2022 14:38:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 842A368AF07; Thu, 3 Mar 2022 16:38:40 +0200 (EET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-oln040092075021.outbound.protection.outlook.com [40.92.75.21]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 041E768AA89 for ; Thu, 3 Mar 2022 16:38:33 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QUdVMfPgKCNbYVLRl+uoFaHiHOSPEJvxsLaLUN3JWCRHj18Mz3QwhXgK0D/KuODQgOiWLOgwzZU+2oLzvY+ZxsblzvGO4da/9yJxj2gAJfhDdd/TgmcNcoNvOMbYGlHMGdsI2CPtA7Lm4XpxIFKNbU4x8FJ2DIBFU+j+AUByOTMExZPJKtxMepBR3Wy+yMXNg9ViKGDlF6MgxLPgq0+yFDHQfFa9reQp0H4LRgR02KvIPsqxYMDMebzzsELx/sp/kh2cgdtRrrKSzDajc3R1rhUww32moziU3bmobm/pzr7NS0gbNlC/pWh7otCfHuRO97cLjg0QP9OLfIbCr3zAWQ== 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=388+fd82nkijHnqBW+BmVCP794dWLG0nJYWFv+XMdGA=; b=Ctv+7v06fgH/rZi/YmbXBzJOnUwwIoht5MPruHh+rOGEANn6gE8W0joRjIwz+tn5T78oRL9XMYzutq3aaYwfCwPncC/7V0LYFR6Ms66vPQKalVNIko1nKKKknklsQPXAWzfY3Uyq/xfIUpKAMqEbm+LkkN8uiZoWVdat0N7E5LG0eEytAkXRnQaFJqB0FFcEU5O5nDl2xD0I/7nh+lMa2oHDlKzkK9jyodIOuNqzvPC9QmSbbulGRD8QkCAanBtn/8HUOSsowoWr9zXusyDOhdtlaZVnT3yX1r73rnTibAL5gFrS3cx5JqG21q9RBCbZCIglIDGeAqw2PpGMR3kGNw== 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=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=388+fd82nkijHnqBW+BmVCP794dWLG0nJYWFv+XMdGA=; b=b6J7WomROJ70aW6kRjKDL+kHd7gaGFDYk/o2BMHJnH9LnMi3PcZMCyjwqmm+Iv1vj9oPU9UFdVLQ31cWBG1rHVllF2AKbsNRHPlTgwzA47mDwxxMiGN3XSPAHDrJml92+t0l5HhZLvT/i4kEXGVFEed9vrTsIzdoAsUF9o1RLP/orG3rNIY2kX+ZrNdOIdw0tg7dIh5f8wtv6hkSlRlYWY2O26lH9UGJ4cUS3/BfHzJz2J0e0VXYtxkazg4dZ/WBWTvQL0YyWliDZBg98tvpoNCL1hTvx5EqWy5kMzAK2qERVc2EMCx/xW4UuaYAaNMWPqf0U6IYH61s0eiibX+1ZQ== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by PA4PR03MB7408.eurprd03.prod.outlook.com (2603:10a6:102:10b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Thu, 3 Mar 2022 14:38:31 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::b8d3:effd:9a3c:4090]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::b8d3:effd:9a3c:4090%5]) with mapi id 15.20.5038.015; Thu, 3 Mar 2022 14:38:31 +0000 Message-ID: Date: Thu, 3 Mar 2022 15:38:30 +0100 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20211228150703.1228-1-dcnieho@gmail.com> From: Andreas Rheinhardt In-Reply-To: X-TMN: [LZXlj62dXdQRRHvtsFWQ4WcYoE3xh637] X-ClientProxiedBy: AS9PR06CA0068.eurprd06.prod.outlook.com (2603:10a6:20b:464::32) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <2209de8b-7f77-51ce-b97d-e1833219adfe@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 26f331b7-5881-4c64-db3f-08d9fd237d05 X-MS-TrafficTypeDiagnostic: PA4PR03MB7408:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E7tGhNTz2hPkrG7Gye7VUcX7OabaSYnBt0DzVC9fI9/ir124Bfmwv/i8r13s//U6FBMgtdx5v49trlBWyuL/WCrEFQXgY9+Mb6Gop/+5XvGc4ARdEwDNOfi5mUmnk0YOkOwc02HXLPIGgsn7GmYYIGRNvhYc+lI3HhVdnotbavarwMokqMjJ+GkrjHvX7UDQ+CKFlW9qBrK/2lYRmwEToKCc6OCksYv+O0ROIY9hpXJUBLQxVd3DCZ1UCdAUsQQuLYeJ4wjmAVvMnstB6hyWS4tPZHlKxgiZw1dIaf63NkviaF1OoOF+CXz3Vo3/lM6zKuWX4uiBVsyauMpQCBQL0ElfNy5nWSNj5fttI01NhbYKtl8POGBEHUS1UHUhRo38DaLLNZbCRnXrSWMyvdssHHnFPRrQjWP/PxsalnM12ytSKyehX7K51Qm8m5yhDhpUupLs8aCXhoRgz6d6Oq6Ci+1TFAA7MI2Og/DcLAYE7r/9dGQQ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jODVrOGZHdUNIekM2S21xWVl2bE11UmJJazFjMm1z?= =?utf-8?B?ME0wOWYrcTdVcEU5a3BlMCsyL2dyY1lzb0lJL1NqcThmVlRBdm1EN3ZxK1Z2?= =?utf-8?B?MDQwRFZlMHNFWjdUTVlCYjhGRkY0QjRkUFlQQXR5Wjk3MldTWHpReWhBdGE1?= =?utf-8?B?UE1xUVppMmhGTGVkNkxSZGpNSUFGbndPSFh0b2g2aWthYXhZSTFibVU1L2NR?= =?utf-8?B?M2Q5ckZRbVNYUzZ6TS9qUWVDZGc5ZXpvVldrUG0wUm9MRVc4THRrSllwemc4?= =?utf-8?B?L0owTGdxMDhNRlcvVE1DMWgvZTYwVHhBOW02MXFCSzBtTjRiUjNvclF0My9X?= =?utf-8?B?WnFyYkE1WXZuamRkMWlNS2VZTEZGc0pxeStramljV21hbzh6YVhhV2pjTEJ4?= =?utf-8?B?WVE1R293ZUgrS0dRVndJR0xzOW4yRERMM3BPQ2VWQTZ0cXVIbFVXdE5vSTg3?= =?utf-8?B?N3E2OFBYaW5hQ1FvZVhnVGo5bVZxWi9pMWlRcVllK0N5TUliWWZ5ZWRNZHVq?= =?utf-8?B?SFFSWUJUbVh6WENLaW5OQUVTcUMrY1hXQ1dwVURDeTFhWCsyZFpPQXdtblc5?= =?utf-8?B?ekYxVVVTMDMxUkVXMndnMnZPVXg5QW5PTGtKczJiLzM5YzFXQT09?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26f331b7-5881-4c64-db3f-08d9fd237d05 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2022 14:38:31.7553 (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: PA4PR03MB7408 Subject: Re: [FFmpeg-devel] [RFC v2] avdevice: lock to minor version of avformat 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: Diederick C. Niehorster: > Hi Andreas, > > On Mon, Jan 3, 2022 at 12:03 PM Diederick C. Niehorster > wrote: > >> Hi Andreas, >> >> Thanks for the comments! >> >> On Mon, Jan 3, 2022 at 11:02 AM Andreas Rheinhardt >> wrote: >>> >>> Diederick Niehorster: >>>> As per discussion on the list ( >>>> https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281513.html, see >>>> especially >> https://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281586.html), >>>> to resolve the the unholy ABI-relationship between libavdevice and >>>> libavformat and allow easier working on the part of the avdevice API >>>> that lives in avformat, lock avdevice to a specific major and minor >>>> version of avformat. >>>> >>>> Signed-off-by: Diederick Niehorster >>>> --- >>> >>> 1. If this patch intends to make it illegal to use libavdevice together >>> with libavformat with a different minor version than it was compiled >>> against, then the most basic requirement of this is to actually properly >>> document it and not add stuff that might cause linking failure if used >>> in a way that runs afoul of your undocumented new requirements. >> >> Absolutely, documentation is required. Should that be in (amongst >> local to the function in the header)? >> > > I want to prepare a next version to get this discussion going. Where should > i document that it is illegal to use libavdevice together with libavformat > with a different minor version? > The versioning documentation starting on line 47 in /libavutil/avutil.h? > That would be the best place for it if one wanted to to lock all the library versions together; but you only want to do it for lavf<->lavd. Then the proper place would be in some avdevice header (naturally version.h, but who reads that header?) with references in avutil.h as well as some avformat header (naturally version.h, but who reads that). - Andreas _______________________________________________ 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".