[FFmpeg-devel] [PATCH] avcodec/av1dec: check avctx->hwaccel when hwaccel pix_fmt selected
Michael Niedermayer
michael at niedermayer.cc
Fri Sep 18 15:18:53 EEST 2020
On Wed, Sep 16, 2020 at 04:57:15PM -0400, Fei Wang wrote:
> Pix fmt with hwaccel flag may not be chosen in format probing, in
> this case avctx->hwaccel will not be inited.
>
> Signed-off-by: Fei Wang <fei.w.wang at intel.com>
> ---
> libavcodec/av1dec.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
This breaks
make fate-cbs-av1-av1-1-b8-22-svc-L2T1
Assertion dst->width == 0 && dst->height == 0 failed at libavutil/frame.c:460
Aborted (core dumped)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200918/1f4c3946/attachment.sig>
More information about the ffmpeg-devel
mailing list