diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index aac9f81839..c839a5df58 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -352,6 +352,7 @@ static void add_all_hwdec_methods(struct hwdec_info **infos, int *num_infos) // Copy variant. info.copying = true; + info.pix_fmt = AV_PIX_FMT_NONE; // trust it can do sw output add_hwdec_item(infos, num_infos, info); found_any = true;