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 7126C4017D for ; Sun, 4 Dec 2022 17:51:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 25C3B68B9F1; Sun, 4 Dec 2022 19:51:38 +0200 (EET) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F012068B7BA for ; Sun, 4 Dec 2022 19:51:30 +0200 (EET) Received: by mail-wr1-f48.google.com with SMTP id h12so15426046wrv.10 for ; Sun, 04 Dec 2022 09:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=nhaLw/sQy47gqgP4ffEmp7WK1zxyZvvDmpBJZQ93tMo=; b=qThwyXrIo1tauhCWrrFRy4b7LpCnW19jK8nXcTzuIKHPZIGrmWiulfpFXzWJwKj0vI PWHJHhMXPRugn+lVeDKguuyku3GGwQ/gnLe0q3xcTxBzub15m7AYUX6oR2szmwFFFYJR PkDj7MuflMcqESLNxAMDzA4muGe8xBNwchGcUxitxrTgpQrfh7CbrnonzRv+Oui6OqpM /bKdxCxPHIMb8U0XDbKDgyvXllEH5tydM3EIHc9SOc6ynINrT30v7zrCHyY3YYqmruq/ +AB980FxnZ8EEZneIk6WRb4eji4VK1TX0hdmTVpF/fsBuUoTcroWcK87xBg0oQEdsYXB XeVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nhaLw/sQy47gqgP4ffEmp7WK1zxyZvvDmpBJZQ93tMo=; b=MqIiUTl5J69UdtEWymWfvJTMXlwFjB/8tNaCPkd9R0lHOSyHV9aewg8GUWjji5FQAq K1ZlBePr+fuY+7zhefIWVhyevFyduEoQSRtStUtxH4f1jEoRpKrPKWfB6Uf5o6MFyEK1 15QsfXhgsK0wZGrshuVweOWtonWj95vLHgqbOk6IoO+9ObCzz6G9gCvGg2BJW+1ZyTQO c5uqDkfaxdS36qt/vJGwZC1dpMmePxcoXH1qAjCxu+fhJxECK3HnZ9WJj1IRo/53WtK5 0+2PB/8mOUvwQDjqtc2S6EBH93Lhw9v8am+zmmk7WktPkb/KGSocvfSGtZAaabJ2Qenb WyAA== X-Gm-Message-State: ANoB5pk6Nw0IvBLk51LAi6HC6n8OiJU4eZUJoNTNXO4rQdjhHpMitzD1 nWnkX6/mpYi5tnM6wANPpcJOnkcGokBpmQ== X-Google-Smtp-Source: AA0mqf7LiVqlNZNwpF+HjdXkLdCKQJzDi6Ul6eZ2SzTClzCD49SebeG/mgA71uiIEoMmEgN4XnF1Ew== X-Received: by 2002:a05:6000:41:b0:242:1628:fa4 with SMTP id k1-20020a056000004100b0024216280fa4mr20966084wrx.227.1670176289911; Sun, 04 Dec 2022 09:51:29 -0800 (PST) Received: from [192.168.4.24] ([46.121.212.87]) by smtp.gmail.com with ESMTPSA id b4-20020a5d45c4000000b00242209dd1ffsm12291259wrs.41.2022.12.04.09.51.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Dec 2022 09:51:29 -0800 (PST) Date: Sun, 4 Dec 2022 19:51:22 +0200 From: Alessandro Di Nepi To: FFmpeg development discussions and patches Message-ID: In-Reply-To: References: <20221127173343.2577-1-alessandro.dinepi@gmail.com> <579ffa65-32b2-4f60-bbc3-4376e34fa892@Spark> X-Readdle-Message-ID: fadfebf4-62fb-4e76-a09c-53e6cd8ed660@Spark MIME-Version: 1.0 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] lavc/videotoolbox: validate vt context in the decoder callback 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: On 4 Dec 2022, 17:01 +0200, FFmpeg development discussions and patches , wrote: > When this happens, does it continue happening, or is it transient? My main > concern is log spamming. Good question: this is just a transient state, so that it won't continue happening. To give you some context: when the decoding start, the value of `vtctx` is captured "too" early so that the first time the callback is called, it's still NULL. The next time it will have a proper value. _______________________________________________ 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".