[vlc-devel] [PATCH 15/22] video_output: use the picture_chain API

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


---
 src/video_output/video_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index ca7964f18ad..5a1fc59b6b5 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -498,7 +498,7 @@ void vout_PutPicture(vout_thread_t *vout, picture_t *picture)
 {
     vout_thread_sys_t *sys = VOUT_THREAD_TO_SYS(vout);
     assert(!sys->dummy);
-    picture->p_next = NULL;
+    assert( picture_chain_empty( picture ) );
     picture_fifo_Push(sys->decoder_fifo, picture);
     vout_control_Wake(&sys->control);
 }
-- 
2.26.2



More information about the vlc-devel mailing list