[FFmpeg-devel] [PATCH] ffserver: cleanup

Baptiste Coudurier baptiste.coudurier
Sun Mar 22 19:57:16 CET 2009


Hi,

On 3/22/2009 11:08 AM, Reinhard Tartler wrote:
> From: Reinhard Tartler <siretart at tauware.de>
> Date: Sun, 22 Mar 2009 19:03:56 +0100
> Subject: [PATCH] ffserver: cleanup
> 
> remove the trivial function do_switch_stream as it doesn't help to make
> the code easier to understand.
> ---
>  ffserver.c |   17 ++---------------
>  1 files changed, 2 insertions(+), 15 deletions(-)
> 
> diff --git a/ffserver.c b/ffserver.c
> index 61ecf20..350a421 100644
> --- a/ffserver.c
> +++ b/ffserver.c
> @@ -1150,19 +1150,6 @@ static int modify_current_stream(HTTPContext *c, char *rates)
>      return action_required;
>  }
>  
> -
> -static void do_switch_stream(HTTPContext *c, int i)
> -{
> -    if (c->switch_feed_streams[i] >= 0) {
> -#ifdef PHILIP
> -        c->feed_streams[i] = c->switch_feed_streams[i];
> -#endif
> -
> -        /* Now update the stream */
> -    }
> -    c->switch_feed_streams[i] = -1;
> -}
> -

Did you try to figure out what was this function for ?

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list