Changeset 22a94562dfa8d80aa0ed7e9b7e2707ae3ff513ba

Show
Ignore:
Timestamp:
20/11/05 09:36:06 (3 years ago)
Author:
Marian Durkovic <md@videolan.org>
git-committer:
Marian Durkovic <md@videolan.org> 1132475766 +0000
git-parent:

[8ad7c42017d6c8aef90200b910ed6675a605428f]

git-author:
Marian Durkovic <md@videolan.org> 1132475766 +0000
Message:

always go through BlockChoose?(), since it assigns the correct demuxer
(otherwise e.g. MPEG2 video is mistetected as MPEG-PS)

Files:

Legend:

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

    r3760ad3 r22a9456  
    192192    /* Set up p_access */ 
    193193    p_access->pf_read = NULL; 
    194     if( !strcasecmp( p_access->psz_access, "rtp" ) 
    195           || !strcasecmp( p_access->psz_access, "rtp4" ) 
    196           || !strcasecmp( p_access->psz_access, "rtp6" ) ) 
    197     { 
    198         p_access->pf_block = BlockRTP; 
    199     } 
    200     else 
    201     { 
    202         p_access->pf_block = BlockChoose; 
    203     } 
     194    p_access->pf_block = BlockChoose; 
    204195    p_access->pf_control = Control; 
    205196    p_access->pf_seek = NULL; 
     
    529520            return NULL; 
    530521 
    531         if ( !p_access->info.b_prebuffered ) 
    532             return BlockPrebufferRTP( p_access, p ); 
    533   
    534522        rtp_ChainInsert( p_access, p ); 
    535523    }