view stream/rtp.h @ 21234:f61fd8cc3128

Add a sanity check to unsafe-looking code. Does the memcpy to internal buffer here have any purpose besides enabling more potential buffer overflows?
author uau
date Sat, 25 Nov 2006 20:01:24 +0000
parents 06eef86d21cc
children 3f0d00abc073
line wrap: on
line source

/* Imported from the dvbstream project
 *
 * Modified for use with MPlayer, for details see the changelog at
 * http://svn.mplayerhq.hu/mplayer/trunk/
 * $Id$
 */

#ifndef _RTP_H
#define _RTP_H

int read_rtp_from_server(int fd, char *buffer, int length);

#endif