[FFmpeg-devel] [PATCH] lavc/videotoolbox: validate vt context in the decoder callback

Alessandro Di Nepi alessandro.dinepi at gmail.com
Sun Dec 4 19:51:22 EET 2022


On 4 Dec 2022, 17:01 +0200, FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>, 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.


More information about the ffmpeg-devel mailing list