Set BLOCK_FLAG_CORRUPTED when reseting the packetizer.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 7 May 2009 19:01:33 +0000 (21:01 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 7 May 2009 19:01:33 +0000 (21:01 +0200)
This one is more for consistency with what the core do.

modules/demux/dirac.c

index 51ceb4f..84e6691 100644 (file)
@@ -170,7 +170,7 @@ static int Demux( demux_t *p_demux)
         block_t *p_null = block_Alloc( 128 );
         if( p_null )
         {
-            p_null->i_flags = BLOCK_FLAG_DISCONTINUITY;
+            p_null->i_flags = BLOCK_FLAG_DISCONTINUITY | BLOCK_FLAG_CORRUPTED;
             p_null->p_next = p_block_in;
         }
         p_block_in = p_null;