]> git.sesse.net Git - vlc/blobdiff - modules/codec/theora.c
* block: added
[vlc] / modules / codec / theora.c
index 92fb2796a783d5db9e0d792575c3a2edbe5308e6..d242516eef52b8c97c00255a325b47269a0d4c08 100644 (file)
@@ -386,7 +386,7 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
     block_t *p_block = *pp_block;
     void *p_buf;
 
-    if( ( p_block->i_flags & BLOCK_FLAG_DISCONTINUITY ) != 0 )
+    if( ( p_block->i_flags&(BLOCK_FLAG_DISCONTINUITY|BLOCK_FLAG_CORRUPTED) ) != 0 )
     {
         /* Don't send the the first packet after a discontinuity to
          * theora_decode, otherwise we get purple/green display artifacts