On Tue, Oct 18, 2022 at 12:05:05PM +0200, Tomas Härdin wrote: > sön 2022-10-09 klockan 11:36 +1100 skrev Peter Ross: > > > > +    gamma = buf[0] >> 4; > > +    contrast = AV_RL16(buf + 2) >> 1; > > +    if (gamma || contrast) > > +        avpriv_request_sample(avctx, "gamma=0x%x, contrast=0x%x\n", > > gamma, contrast); > > Shouldn't this also error out with AVERROR_PATCHWELCOME? not really, because the image will still be displayable, just lacking in brightness/contrast adjustment. i couldn't find any samples with this feature enabled. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)