Mercurial > mplayer.hg
annotate stream/cache2.h @ 29691:183ea012e25b
Change grow_array argument from void ** to void *, this avoids a aliasing
violation (thus making gcc 4.4.x compile the code correctly) and allows to get
rid of some casts at the expense of making the code less clear.
author | reimar |
---|---|
date | Wed, 30 Sep 2009 07:27:43 +0000 |
parents | 9e739bdb049c |
children | ce0122361a39 |
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 |
28051 | 6 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 */ |