Changeset 24d9ad6298e8614eef3bd7a3fcf21159c5923739

Show
Ignore:
Timestamp:
04/02/06 19:16:13 (3 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1139076973 +0000
git-parent:

[d2858830da631540c72191477f88787902966b3e]

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

fprintf die die

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/rtsp.c

    r2cb472d r24d9ad6  
    262262    int i; 
    263263 
     264    if( !p_media ) 
     265    { 
     266        msg_Err( p_vod, "not enough memory" ); 
     267        return NULL; 
     268    } 
     269 
    264270    memset( p_media, 0, sizeof(vod_media_t) ); 
    265271    p_media->es = 0; 
     
    277283        free( p_media->psz_rtsp_path ); 
    278284        free( p_media ); 
    279         return 0
     285        return NULL
    280286    } 
    281287 
     
    620626    if( answer == NULL || query == NULL ) return VLC_SUCCESS; 
    621627 
    622     fprintf( stderr, "RtspCallback query: type=%d\n", query->i_type ); 
     628    msg_Info( p_vod, "RtspCallback query: type=%d\n", query->i_type ); 
    623629 
    624630    answer->i_proto   = HTTPD_PROTO_RTSP; 
     
    638644                answer->psz_status = strdup( "OK" ); 
    639645                httpd_MsgAdd( answer, "Content-type",  "%s", "application/sdp" ); 
    640      
     646 
    641647                answer->p_body = (uint8_t *)psz_sdp; 
    642648                answer->i_body = strlen( psz_sdp ); 
     
    773779    if( answer == NULL || query == NULL ) return VLC_SUCCESS; 
    774780 
    775     fprintf( stderr, "RtspCallback query: type=%d\n", query->i_type ); 
     781    msg_Info( p_vod, "RtspCallback query: type=%d\n", query->i_type ); 
    776782 
    777783    answer->i_proto   = HTTPD_PROTO_RTSP; 
     
    783789    case HTTPD_MSG_SETUP: 
    784790        psz_transport = httpd_MsgGet( query, "Transport" ); 
    785         fprintf( stderr, "HTTPD_MSG_SETUP: transport=%s\n", psz_transport ); 
     791        msg_Dbg( p_vod, "HTTPD_MSG_SETUP: transport=%s\n", psz_transport ); 
    786792 
    787793        if( strstr( psz_transport, "unicast" ) && 
     
    803809            } 
    804810 
    805             fprintf( stderr, "HTTPD_MSG_SETUP: unicast ip=%s port=%d\n", 
     811            msg_Dbg( p_vod, "HTTPD_MSG_SETUP: unicast ip=%s port=%d\n", 
    806812                     ip, i_port ); 
    807813