Changeset 1687209fa627fa02b125463c9f04d92936fc5671

Show
Ignore:
Timestamp:
03/10/02 22:49:31 (6 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1033678171 +0000
git-parent:

[e0c8e060c218494cd0792d0fa0f20c10bcea440d]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1033678171 +0000
Message:

Fixed known bug in rtp plugin which resulted in superflous error messages.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/rtp.c

    r2799d36 r1687209  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001, 2002 VideoLAN 
    5  * $Id: rtp.c,v 1.2 2002/09/30 11:05:34 sam Exp $ 
     5 * $Id: rtp.c,v 1.3 2002/10/03 20:49:31 jpsaman Exp $ 
    66 * 
    77 * Authors: Christophe Massiot <massiot@via.ecp.fr> 
     
    292292  
    293293    // If both bytes are wrong, maybe a synchro error occurred... 
    294     if (( i_rtp_version != 2 ) && ( i_payload_type != 0x33 )) 
     294    if (( i_rtp_version != 2 ) && ( i_payload_type != 33 )) 
    295295    { 
    296296         msg_Dbg( p_input, "Too many RTP errors, trying to re-synchronize" ); 
     
    299299    for ( i=0 ; (i<i_len) || 
    300300                    ((( p_tmp_buffer[0] & 0xC0 ) >> 6 == 2 ) 
    301                      && ( p_tmp_buffer[1] & 0x7F ) >> 6 == 0x33 ) ; i++); 
     301                     && ( p_tmp_buffer[1] & 0x7F ) == 33 ) ; i++); 
    302302 
    303303    if (i!=i_len)