* modules/packetizer/mpeg4audio.c, modules/packetizer/mpegvideo.c: compilation fix.

This commit is contained in:
Gildas Bazin 2004-02-25 18:43:24 +00:00
parent b031511392
commit 80602ac2d2
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* mpeg4audio.c: parse and packetize an MPEG 4 audio stream
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpeg4audio.c,v 1.16 2004/01/25 17:58:30 murray Exp $
* $Id: mpeg4audio.c,v 1.17 2004/02/25 18:43:24 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
@ -253,7 +253,7 @@ static block_t *ADTSPacketizeBlock( decoder_t *p_dec, block_t **pp_block )
return NULL;
}
if( (*pp_block)->b_discontinuity )
if( (*pp_block)->i_flags&BLOCK_FLAG_DISCONTINUITY )
{
p_sys->i_state = STATE_NOSYNC;
}

View File

@ -2,7 +2,7 @@
* mpegvideo.c: parse and packetize an MPEG1/2 video stream
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpegvideo.c,v 1.29 2004/02/20 18:24:41 massiot Exp $
* $Id: mpegvideo.c,v 1.30 2004/02/25 18:43:24 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
@ -211,7 +211,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
return NULL;
}
if( (*pp_block)->b_discontinuity )
if( (*pp_block)->i_flags&BLOCK_FLAG_DISCONTINUITY )
{
p_sys->i_state = STATE_NOSYNC;
if( p_sys->p_frame ) block_ChainRelease( p_sys->p_frame );