Commit 30410626 authored by Laurent Aimar's avatar Laurent Aimar

* rtp: removed a annoying debug message

 * announce.c: fixed a warning.
parent 2d0e1f20
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <errno.h> /* ENOMEM */
#include <stdlib.h> /* free() */ #include <stdlib.h> /* free() */
#include <errno.h> /* ENOMEM */
#include <stdio.h> /* sprintf() */ #include <stdio.h> /* sprintf() */
#include <string.h> /* strerror() */
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc/sout.h> #include <vlc/sout.h>
...@@ -396,8 +396,7 @@ void sout_SAPSend( sout_instance_t *p_sout, sap_session_t * p_sap ) ...@@ -396,8 +396,7 @@ void sout_SAPSend( sout_instance_t *p_sout, sap_session_t * p_sap )
free( psz_head ); free( psz_head );
} }
#ifdef HAVE_SLP_H
/***************************************************************************** /*****************************************************************************
* sout_SLPBuildName: Builds a service name according to SLP standard * sout_SLPBuildName: Builds a service name according to SLP standard
*****************************************************************************/ *****************************************************************************/
...@@ -426,7 +425,6 @@ static char * sout_SLPBuildName(char *psz_url,char *psz_name) ...@@ -426,7 +425,6 @@ static char * sout_SLPBuildName(char *psz_url,char *psz_name)
/***************************************************************************** /*****************************************************************************
* sout_SLPReport: Reporting function. Unused at the moment but needed * sout_SLPReport: Reporting function. Unused at the moment but needed
*****************************************************************************/ *****************************************************************************/
#ifdef HAVE_SLP_H
static void sout_SLPReport(SLPHandle slp_handle,SLPError slp_error,void* cookie) static void sout_SLPReport(SLPHandle slp_handle,SLPError slp_error,void* cookie)
{ {
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* rtp.c * rtp.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: rtp.c,v 1.5 2003/11/07 17:43:42 fenrir Exp $ * $Id: rtp.c,v 1.6 2003/11/07 18:32:24 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -764,9 +764,8 @@ static int AccessOutGrabberWrite( sout_access_out_t *p_access, sout_buffer_t *p_ ...@@ -764,9 +764,8 @@ static int AccessOutGrabberWrite( sout_access_out_t *p_access, sout_buffer_t *p_
{ {
sout_stream_t *p_stream = (sout_stream_t*)p_access->p_sys; sout_stream_t *p_stream = (sout_stream_t*)p_access->p_sys;
fprintf( stderr, "received buffer size=%d\n", p_buffer->i_size ); //fprintf( stderr, "received buffer size=%d\n", p_buffer->i_size );
//
while( p_buffer ) while( p_buffer )
{ {
sout_buffer_t *p_next; sout_buffer_t *p_next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment