Commit 130e8291 authored by Christophe Massiot's avatar Christophe Massiot

* modules/packetizer/mpegvideo.c: Drop corrupt blocks.

parent 73892687
......@@ -216,7 +216,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
return NULL;
}
if( (*pp_block)->i_flags & BLOCK_FLAG_DISCONTINUITY )
if( (*pp_block)->i_flags & (BLOCK_FLAG_DISCONTINUITY|BLOCK_FLAG_CORRUPTED) )
{
p_sys->i_state = STATE_NOSYNC;
if( p_sys->p_frame ) block_ChainRelease( p_sys->p_frame );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment