Changeset 5b83bb59a8d844f1ed48afb168651df0258ebf25

Show
Ignore:
Timestamp:
16/12/03 00:31:11 (5 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1071531071 +0000
git-parent:

[21636bda2eca19e0b4351c57225c6ca1417aed17]

git-author:
Gildas Bazin <gbazin@videolan.org> 1071531071 +0000
Message:

* modules/demux/ogg.c: a couple of fixes for flac streaming.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/ogg.c

    r8c40a0d r5b83bb5  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2003 VideoLAN 
    5  * $Id: ogg.c,v 1.49 2003/12/04 22:37:02 gbazin Exp $ 
     5 * $Id: ogg.c,v 1.50 2003/12/15 23:31:11 gbazin Exp $ 
    66 * 
    77 * Authors: Gildas Bazin <gbazin@netcourrier.com> 
     
    325325              p_stream->b_force_backup = 0; 
    326326              p_stream->i_packets_backup = 0; 
     327 
     328              if( p_oggpacket->granulepos >= 0 ) 
     329                  Ogg_UpdatePCR( p_stream, p_oggpacket ); 
     330 
     331              p_stream->i_previous_pcr = 0; 
    327332              return; 
    328333          } 
     
    10861091    for( i_stream = 0 ; i_stream < p_ogg->i_streams; i_stream++ ) 
    10871092    { 
    1088         es_out_Del( p_input->p_es_out, p_stream->p_es ); 
     1093        if( p_stream->p_es ) 
     1094            es_out_Del( p_input->p_es_out, p_stream->p_es ); 
    10891095 
    10901096        vlc_mutex_lock( &p_input->stream.stream_lock );