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 97EB443E52 for ; Tue, 18 Oct 2022 06:57:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9350B68BC9B; Tue, 18 Oct 2022 09:57:19 +0300 (EEST) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A00E368BBAE for ; Tue, 18 Oct 2022 09:57:13 +0300 (EEST) Received: by mail-ej1-f54.google.com with SMTP id r17so29914373eja.7 for ; Mon, 17 Oct 2022 23:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=AmcAq1lzrpHe1OQgeJDpaILsWYUp+SkFVJA3xE+ST4I=; b=eihz/IgMrEIsr33OwQTu1jkiyuyh68Ps/X/3DQFewNSyHobGdBlIUYul5y2fuX1slj Y4jFoeH9/7s9Jfpecqo+RxB9HegBAtVUY/o2QPqNSSDFTgJ7v5+uLa6gzq6ysYzLHBXN 7iZjZcALzz+rlehji7kjiwFboLKV0fAJH1lLxJCjLOYWuWfitrXks+AMAuNzR2A9xlhp q3rjkDFjnkatGmLqVGmlkdFikrM6Es1d7IpixWTUfGg6nSU1c9jQ9rQb8wTnKtGgrhFU JcU+YHGtPBDMp8LveyZvWnVhKsIOq6Di6upU2w1h61wd9ZxipznnvBFjpE9tCY3+EOFi pUHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AmcAq1lzrpHe1OQgeJDpaILsWYUp+SkFVJA3xE+ST4I=; b=fJGaZ8UbRpyIxWw0LYaRc0ABPdatHNaec7EMrZLRGATyRzpw/GmjNzT8LIcHhRMKwn tvCPJ2pNjCnh6PHfViF5GRcQjFjtyPsc5s1W96AGFmGivgNsN+anYdUfiPFjJxIMlVnQ TTFoLZYuhVkQtpGOfLLbcKeE+1p/CbjlUymT0kyvHhBdqPf9MqYOfArwwqjlwEW+neYw hk51mGPPtUCLHik0BNCo7kdsS46yNv6uczYFUPGNBHfQ2L6oIoZ6B0P7HiRhpAa2Oili CH+AcXCZdIAAKYb/JTByJLNdUhi1fkGKDJCFup+AJwnsYSnXUp00AZ0n1OTqjV6PBoK4 btxA== X-Gm-Message-State: ACrzQf06Q8Lp5BkdTJboCsKMNemTTSF2b461htsX/6EKlQdx/hkR5f3Y NbR1A9yFFCQl2kYw4IbW9HvxdwDZTxy+Mw== X-Google-Smtp-Source: AMsMyM4gbYUw0BtUxRvMu6JbQVn0EPzV/q6qp7Vl7ORaei3alnNXj2XFh/PZiy/X0aaVd/FVrMPdvA== X-Received: by 2002:a17:907:a073:b0:78d:9e06:8ba9 with SMTP id ia19-20020a170907a07300b0078d9e068ba9mr1225380ejc.338.1666076233124; Mon, 17 Oct 2022 23:57:13 -0700 (PDT) Received: from [100.111.40.137] ([213.55.224.15]) by smtp.googlemail.com with ESMTPSA id a16-20020aa7d910000000b00459ad800bbcsm8400077edr.33.2022.10.17.23.57.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Oct 2022 23:57:12 -0700 (PDT) Message-ID: <7af3f8e2-b26c-42da-ed4d-d1944c23039c@gmail.com> Date: Tue, 18 Oct 2022 08:57:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 To: ffmpeg-devel@ffmpeg.org References: Content-Language: en-US From: Gregor Riepl In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avformat/dashdec: Differentiate unassigned and zero attributes 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: >> +#include > Not sure this header can be used every enveriment. Or what about use > #define TRUE 1 > #define FALSE 0 > ? You are right, this is C99. I'd rather not define a custom boolean type just for this, it would be better if FFmpeg had something like FF_TRUE/FF_FALSE. fftools/ffmpeg_opt.c seems to use int, 0 and 1 for flags. Not very clean, but I can use that if it's ok for you? _______________________________________________ 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".