view stream/cookies.h @ 29385:f9ae25067fe0

Fix 24bit audio playback. The reordering channels code had reoccurring bug where in switch(samplesize) block the case 3 (3 bytes) doesn't end with break; leading to execution of the next case 4 too. This mangles the already processed data and causes massive memory corruption.
author iive
date Sun, 19 Jul 2009 09:55:29 +0000
parents 0f1b5b68af32
children ce0122361a39
line wrap: on
line source

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

#ifndef MPLAYER_COOKIES_H
#define MPLAYER_COOKIES_H

#include "http.h"

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

#endif /* MPLAYER_COOKIES_H */