[PATCH] fix typo in supported sample sizes and maximum bit rate

Eric Engestrom eric.engestrom at imgtec.com
Tue Apr 26 15:03:42 UTC 2016


On Tue, Apr 26, 2016 at 09:00:42AM +0200, reinhard.zitzmann at gmail.com wrote:
> From: Reinhard Zitzmann <reinhard.zitzmann at gmail.com>
> 
> Signed-off-by: Reinhard Zitzmann <reinhard.zitzmann at gmail.com>
> ---
>  edid-decode.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/edid-decode.c b/edid-decode.c
> index 0b94ad5..62c732d 100644
> --- a/edid-decode.c
> +++ b/edid-decode.c
> @@ -629,11 +629,11 @@ cea_audio_block(unsigned char *x)
>  	       (x[i+1] & 0x01) ? " 32" : "");
>  	if (format == 1) {
>  	    printf("    Supported sample sizes (bits):%s%s%s\n",
> -		  (x[2] & 0x04) ? " 24" : "",
> -		  (x[2] & 0x02) ? " 20" : "",
> -		  (x[2] & 0x01) ? " 16" : "");
> +		  (x[i+2] & 0x04) ? " 24" : "",
> +		  (x[i+2] & 0x02) ? " 20" : "",
> +		  (x[i+2] & 0x01) ? " 16" : "");
>  	} else if (format <= 8) {
> -	    printf("    Maximum bit rate: %d kHz\n", x[2] * 8);
> +	    printf("    Maximum bit rate: %d kHz\n", x[i+2] * 8);
>  	}
>      }
>  }
> -- 
> 2.5.5

The change looks good, but I can't figure out which tree it applies to?

Tip:  git config format.subjectprefix "PATCH $(basename "$PWD")"


More information about the xorg-devel mailing list