Fix PES muxing
authorRafaël Carré <funman@videolan.org>
Sat, 20 Sep 2014 16:53:46 +0000 (17:53 +0100)
committerRafaël Carré <funman@videolan.org>
Sat, 20 Sep 2014 16:54:05 +0000 (17:54 +0100)
modules/mux/mpeg/pes.c

index 634f6d0..afe44ab 100644 (file)
@@ -436,6 +436,7 @@ void EStoPES ( block_t **pp_pes,
     } while( i_size > 0 );
 
     /* Now redate all pes */
+    p_pes = *pp_pes;
     i_dts    = p_pes->i_dts;
     mtime_t i_length = p_pes->i_length / i_pes_count;
     while( p_pes )