[PATCH 15/18] libmpcodecs/vf_spp: update ff_pixblockdsp_init() API

Nicolas George <[email protected]> Tue, 28 Jul 2026 20:15:11 +0200
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
---
 libmpcodecs/vf_spp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmpcodecs/vf_spp.c b/libmpcodecs/vf_spp.c
index 59c71bb94..3a21fe735 100644
--- a/libmpcodecs/vf_spp.c
+++ b/libmpcodecs/vf_spp.c
@@ -585,7 +585,7 @@ static int vf_open(vf_instance_t *vf, char *args){
     init_avcodec();
 
     vf->priv->avctx= avcodec_alloc_context3(NULL);
-    ff_pixblockdsp_init(&vf->priv->pdsp, vf->priv->avctx);
+    ff_pixblockdsp_init(&vf->priv->pdsp, vf->priv->avctx->bits_per_raw_sample);
     ff_idctdsp_init(&vf->priv->idsp, vf->priv->avctx);
     ff_fdctdsp_init(&vf->priv->fdsp, vf->priv->avctx);
 
-- 
2.53.0

_______________________________________________
MPlayer-dev-eng mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s