Re: [FFmpeg-devel] [PATCH] av1dec: Don't crash if decoding of some frames have failed

2024-10-04 Thread Martin Storsjö
On Wed, 2 Oct 2024, Martin Storsjö wrote: If decoding with hwaccel, but decoding fails, these pointers are null at this point. --- libavcodec/av1dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 6a9de07d16..bc4ef63e68 100644 --- a/libavcod

[FFmpeg-devel] [PATCH] av1dec: Don't crash if decoding of some frames have failed

2024-10-02 Thread Martin Storsjö
If decoding with hwaccel, but decoding fails, these pointers are null at this point. --- libavcodec/av1dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 6a9de07d16..bc4ef63e68 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -2