diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index a680454d7f5d919c3e285e33cde16ff867024bc5..e0a4fa5ddfe2a7ba23583e83d5d597728e862577 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -789,11 +789,7 @@ static block_t *OutputPicture( decoder_t *p_dec )
     p_sys->i_cc_dts = p_pic->i_dts;
     p_sys->i_cc_flags = p_pic->i_flags;
 
-    /* Swap cc buffer */
-    cc_data_t cc_tmp = p_sys->cc;
     p_sys->cc = p_sys->cc_next;
-    p_sys->cc_next = cc_tmp;
-
     cc_Flush( &p_sys->cc_next );
 
     return p_pic;