[MPlayer-cvslog] r25214 - trunk/stream/stream.c
Rich Felker
dalias at aerifal.cx
Sat Dec 1 02:36:52 CET 2007
On Fri, Nov 30, 2007 at 08:51:31PM +0100, ben wrote:
> Author: ben
> Date: Fri Nov 30 20:51:30 2007
> New Revision: 25214
>
> Log:
> this local variable can be static
>
> Modified:
> trunk/stream/stream.c
>
> Modified: trunk/stream/stream.c
> ==============================================================================
> --- trunk/stream/stream.c (original)
> +++ trunk/stream/stream.c Fri Nov 30 20:51:30 2007
> @@ -88,7 +88,7 @@ extern stream_info_t stream_info_file;
> extern stream_info_t stream_info_dvd;
> #endif
>
> -stream_info_t* auto_open_streams[] = {
> +static stream_info_t* auto_open_streams[] = {
Then it can also be made static const. static without const is a
mistake. If warnings about const result, fix the offending code.
Rich
More information about the MPlayer-cvslog
mailing list