Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> -            uint16_t b = *src++ >> 4;
> +            uint16_t b = *src++ >> 6;
>              if (avctx->codec_id == AV_CODEC_ID_R210)
> -                pixel = (r << 20) | (g << 10) | b >> 2;
> +                pixel = (r << 20) | (g << 10) | b;
>              else
> -                pixel = (r << 22) | (g << 12) | b;
> +                pixel = (r << 22) | (g << 12) | (b << 2);

Please commit.

Thanks for looking at this, Carl Eugen

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to