Re: [MPlayer-dev-eng] stream/stream.c and cache_do_control function
- Date: Sat, 5 Jul 2008 16:23:08 +0200
- From: Diego Biurrun <diego@xxxxxxxxxx>
- Subject: Re: [MPlayer-dev-eng] stream/stream.c and cache_do_control function
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
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng