Mercurial > mplayer.hg
annotate stream/cache2.h @ 27272:6d5c1d9bf273
And a 1000l for r27263, swapped a condition, thus setting size to
0 when malloc succeeded instead of when it failed.
author | reimar |
---|---|
date | Wed, 16 Jul 2008 17:48:34 +0000 |
parents | 77003eb2d9a8 |
children | 9e739bdb049c |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_CACHE2_H |
2 #define MPLAYER_CACHE2_H | |
19808 | 3 |
26184
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include "stream.h" |
7ee4ae1648e6
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
5 |
19808 | 6 extern void cache_uninit(stream_t *s); |
26833
77003eb2d9a8
Add basic support for stream controls with cache enabled.
reimar
parents:
26184
diff
changeset
|
7 int cache_do_control(stream_t *stream, int cmd, void *arg); |
19808 | 8 |
26029 | 9 #endif /* MPLAYER_CACHE2_H */ |