[FFmpeg-devel] [PATCHv2] avcodec: ViewQuest VQC decoder

Tomas Härdin git at haerdin.se
Tue Oct 18 13:05:05 EEST 2022


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?

Else patch looks OK

/Tomas



More information about the ffmpeg-devel mailing list