1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2002-2004 the xine project
5 * Copyright (C) 2005 VideoLAN
8 * Authors: Gildas Bazin <gbazin@videolan.org>
9 * Adapted from xine which itself adapted it from joschkas real tools.
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 *****************************************************************************/
36 #include <vlc_common.h>
38 #include "real_rmff.h"
39 #include "real_sdpplin.h"
42 # define lprintf printf
44 static inline void lprintf( const char *dummy, ... ) { (void)dummy; }
47 int real_get_rdt_chunk_header(rtsp_client_t *, rmff_pheader_t *);
48 int real_get_rdt_chunk(rtsp_client_t *, rmff_pheader_t *, unsigned char **);
49 rmff_header_t *real_setup_and_get_header(rtsp_client_t *, int bandwidth);
51 int asmrp_match(const char *rules, int bandwidth, int *matches, int matchsize) ;