[vlc-devel] [PATCH] crystalhd: fix cast warning

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 9 14:32:57 CEST 2019


---
 modules/codec/crystalhd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/crystalhd.c b/modules/codec/crystalhd.c
index 98526e175ce..4c824e0f732 100644
--- a/modules/codec/crystalhd.c
+++ b/modules/codec/crystalhd.c
@@ -478,7 +478,7 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
     proc_out.PicInfo.width  = p_dec->fmt_out.video.i_width;
     proc_out.PicInfo.height = p_dec->fmt_out.video.i_height;
     proc_out.PoutFlags      = BC_POUT_FLAGS_SIZE;
-    proc_out.AppCallBack    = ourCallback;
+    proc_out.AppCallBack    = (dts_pout_callback) ourCallback;
     proc_out.hnd            = p_dec;
     p_sys->proc_out         = &proc_out;
 
-- 
2.17.1



More information about the vlc-devel mailing list