view stream/cache2.h @ 29269:4d9de809b174

Add a hack to detect when we are writing into a Windows pipe since the fseek incorrectly does not fail like it should. This ensures we will not incorrectly append the file header at the end. Based on patch by Zhou Zongyi [zhouzongyi at pset.suntec.net]
author reimar
date Sat, 16 May 2009 13:59:53 +0000
parents 9e739bdb049c
children ce0122361a39
line wrap: on
line source

#ifndef MPLAYER_CACHE2_H
#define MPLAYER_CACHE2_H

#include "stream.h"

void cache_uninit(stream_t *s);
int cache_do_control(stream_t *stream, int cmd, void *arg);

#endif /* MPLAYER_CACHE2_H */