Changeset 1687209fa627fa02b125463c9f04d92936fc5671
- 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
| r2799d36 |
r1687209 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 292 | 292 | |
|---|
| 293 | 293 | // 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 )) |
|---|
| 295 | 295 | { |
|---|
| 296 | 296 | msg_Dbg( p_input, "Too many RTP errors, trying to re-synchronize" ); |
|---|
| … | … | |
| 299 | 299 | for ( i=0 ; (i<i_len) || |
|---|
| 300 | 300 | ((( p_tmp_buffer[0] & 0xC0 ) >> 6 == 2 ) |
|---|
| 301 | | && ( p_tmp_buffer[1] & 0x7F ) >> 6 == 0x33 ) ; i++); |
|---|
| | 301 | && ( p_tmp_buffer[1] & 0x7F ) == 33 ) ; i++); |
|---|
| 302 | 302 | |
|---|
| 303 | 303 | if (i!=i_len) |
|---|