[MPlayer-dev-eng] [PATCH 1/5] Remove some useless static zero initializations.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Apr 22 11:47:00 CEST 2011


On Sat, Apr 16, 2011 at 12:02:49AM +0200, Clément Bœsch wrote:
> @@ -188,16 +188,16 @@ int fixed_vo=0;
>  // benchmark:
>  double video_time_usage=0;
>  double vout_time_usage=0;
> -static double audio_time_usage=0;
> -static int total_time_usage_start=0;
> -static int total_frame_cnt=0;
> -static int drop_frame_cnt=0; // total number of dropped frames
> +static double audio_time_usage;
> +static int total_time_usage_start;
> +static int total_frame_cnt;
> +static int drop_frame_cnt; // total number of dropped frames
>  int benchmark=0;

Outside of functions "static" or not makes no difference
concerning this aspect, so you should also remove it
from the others.


More information about the MPlayer-dev-eng mailing list