From b5623adc8eb6b6f6b9a385f951f4eee9e8fdee0f Mon Sep 17 00:00:00 2001
From: Francois Cartegnie <fcvlcdev@free.fr>
Date: Thu, 24 Dec 2015 13:21:17 +0100
Subject: [PATCH] packetizer: h264: fix sps/pps chaining with AU prefix

regression introduced by 1d9cfa88e4505b442c8e4d361e9d83a45e37a7a4
---
 modules/packetizer/h264.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index bdb8dd4d9273..dcc8958d6951 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -592,6 +592,7 @@ static block_t *OutputPicture( decoder_t *p_dec )
             p_sys->p_frame = p_sys->p_frame->p_next;
             if( p_sys->p_frame == NULL )
                 p_sys->pp_frame_last = &p_sys->p_frame;
+            p_head->p_next = NULL;
         }
 
         block_t *p_list = NULL;
-- 
GitLab