view stream/rtp.h @ 26612:87d096a58965

Check ASF packet size before calling demux_asf_read_packet. Fixes segfault with damaged ASF files.
author eugeni
date Fri, 02 May 2008 13:33:14 +0000
parents 4129c8cfa742
children d3ba36f72b57
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 MPLAYER_RTP_H
#define MPLAYER_RTP_H

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

#endif /* MPLAYER_RTP_H */