[MPlayer-dev-eng] stream/stream.c and cache_do_control function
Diego Biurrun
diego at biurrun.de
Sat Jul 5 16:23:08 CEST 2008
On Wed, Jun 25, 2008 at 09:49:36AM +0200, Andrea Palmatè wrote:
>
> after a long time i'm trying to recompile mplayer and apply all my old patches.
> Just a little question in stream/stream.c file
> there is the stream_control function that imho should be this
>
> int stream_control(stream_t *s, int cmd, void *arg){
> if(!s->control) return STREAM_UNSUPPORTED;
> #ifdef USE_STREAM_CACHE
> if (s->cache_pid)
> return cache_do_control(s, cmd, arg);
> #endif
> return s->control(s, cmd, arg);
> }
>
> and so, add an #ifdef USE_STREAM_CACHE to the
> second if otherwise you will get an undefined error on cache_do_control
Fixed.
Diego
More information about the MPlayer-dev-eng
mailing list