please be more verbose what you want to fix.

Am 14.04.2014 02:11, schrieb Alen Zamanyan:
> ---
>  edid-decode.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/edid-decode.c b/edid-decode.c
> index 45153d5..0407a51 100644
> --- a/edid-decode.c
> +++ b/edid-decode.c
> @@ -618,7 +618,7 @@ cea_audio_block(unsigned char *x)
>      for (i = 1; i < length; i += 3) {
>       format = (x[i] & 0x78) >> 3;
>       printf("    %s, max channels %d\n", audio_format(format),
> -            x[i] & 0x07);
> +            (x[i] & 0x07)+1);

i guess off by one ?

>       printf("    Supported sample rates (kHz):%s%s%s%s%s%s%s\n",
>              (x[i+1] & 0x40) ? " 192" : "",
>              (x[i+1] & 0x20) ? " 176.4" : "",
> @@ -1569,9 +1569,9 @@ int main(int argc, char **argv)
>       }
>      } else {
>       printf("Supported color formats: RGB 4:4:4");
> -     if (edid[0x18] & 0x10)
> -         printf(", YCrCb 4:4:4");
>       if (edid[0x18] & 0x08)
> +         printf(", YCrCb 4:4:4");
> +     if (edid[0x18] & 0x10)
>           printf(", YCrCb 4:2:2");

whitespace change ?

re,
 wh

>       printf("\n");
>      }
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to