[vlc-devel] [PATCH 11/22] deinterlace: use the picture_chain API

Steve Lhomme robux4 at ycbcr.xyz
Thu Sep 17 17:33:33 CEST 2020


---
 modules/video_filter/deinterlace/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/deinterlace/common.c b/modules/video_filter/deinterlace/common.c
index 1265c888a43..ef9ed0fa71e 100644
--- a/modules/video_filter/deinterlace/common.c
+++ b/modules/video_filter/deinterlace/common.c
@@ -236,7 +236,7 @@ picture_t *DoDeinterlacing( filter_t *p_filter,
             p_dst[i]           = AllocPicture( p_filter );
             if( p_dst[i] )
             {
-                p_dst[i-1]->p_next = p_dst[i];
+                picture_chain_append( p_dst[i-1], p_dst[i] );
                 picture_CopyProperties( p_dst[i], p_pic );
             }
             else
-- 
2.26.2



More information about the vlc-devel mailing list