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

Eric Engestrom eric.engestrom at imgtec.com
Thu Apr 28 12:39:24 UTC 2016


On Wed, Apr 27, 2016 at 07:23:15PM +0000, Reinhard Zitzmann wrote:
> git://anongit.freedesktop.org/xorg/app/edid-decode master
> 

You should always CC: the mailing list, so everyone can see the answer.

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

Thanks for the patch :]

> On Tue, Apr 26, 2016 at 5:03 PM Eric Engestrom <eric.engestrom at imgtec.com>
> wrote:
> 
> > 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")"
> >
> -- 
> Viele Grüße,
> 
> Reinhard Zitzmann
> 
> Mail: reinhard.zitzmann at gmail.com
> Mobil: +49 151 7004 7001
> Fax: +49 9133 4799403


More information about the xorg-devel mailing list