]> git.sesse.net Git - vlc/commitdiff
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 51ceb4feea6e1f75549327d7f5798329665e181a..84e66913830f3aef1a2b85b0cd4fa7c981adebdc 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;