[FFmpeg-soc] [soc]: r5155 - spdif/spdif.c

Diego Biurrun diego at biurrun.de
Mon Aug 17 11:01:58 CEST 2009


On Mon, Aug 17, 2009 at 10:53:52AM +0200, bwolowiec wrote:
> 
> Log:
> cosmetics: Reformat.
> 
> --- spdif/spdif.c	Mon Aug 17 10:51:09 2009	(r5154)
> +++ spdif/spdif.c	Mon Aug 17 10:53:52 2009	(r5155)
> @@ -117,15 +117,9 @@ static int spdif_header_dts(AVFormatCont
>      blocks++;
>      switch (blocks) {
> -    case 512 >> 5:
> -        ctx->data_type = IEC958_DTS1;
> -        break;
> -    case 1024 >> 5:
> -        ctx->data_type = IEC958_DTS2;
> -        break;
> -    case 2048 >> 5:
> -        ctx->data_type = IEC958_DTS3;
> -        break;
> +    case  512 >> 5: ctx->data_type = IEC958_DTS1; break;
> +    case 1024 >> 5: ctx->data_type = IEC958_DTS2; break;
> +    case 2048 >> 5: ctx->data_type = IEC958_DTS3; break;

This is not an improvement, on the contrary.

Diego


More information about the FFmpeg-soc mailing list