view stream/cookies.h @ 25746:330af0160c2d

Fix code to prevent from accessing queue->packets[-1].pts that causes a crash. Found and patched by Reimar.
author ulion
date Thu, 17 Jan 2008 02:18:49 +0000
parents 3baf6a2283da
children 4129c8cfa742
line wrap: on
line source

/*
 * HTTP Cookies
 * Reads Netscape and Mozilla cookies.txt files
 * 
 * by Dave Lambley <mplayer@davel.me.uk>
 */

#ifndef COOKIES_H
#define COOKIES_H

#include "http.h"

extern void cookies_set(HTTP_header_t * http_hdr, const char *hostname,
			const char *url);

#endif /* COOKIES_H */