[vlc-devel] commit: Set BLOCK_FLAG_CORRUPTED when reseting the packetizer. ( Laurent Aimar )
git version control
git at videolan.org
Thu May 7 21:13:31 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu May 7 21:01:33 2009 +0200| [a45cb92f391a26a8ec729f21cf59aa29a2559f42] | committer: Laurent Aimar
Set BLOCK_FLAG_CORRUPTED when reseting the packetizer.
This one is more for consistency with what the core do.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a45cb92f391a26a8ec729f21cf59aa29a2559f42
---
modules/demux/dirac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/dirac.c b/modules/demux/dirac.c
index 51ceb4f..84e6691 100644
--- a/modules/demux/dirac.c
+++ b/modules/demux/dirac.c
@@ -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;
More information about the vlc-devel
mailing list