Commit 6a6a0620 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix R10k blue channel output.

Makes R10k -> gbrp10 ffv1 -> R10k roundtrip bit-identical.
parent 750b10ff
......@@ -70,7 +70,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
g = (pixel >> 4) & 0xffc0;
r = (pixel >> 14) & 0xffc0;
} else {
b = pixel << 4;
b = (pixel << 4) & 0xffc0;
g = (pixel >> 6) & 0xffc0;
r = (pixel >> 16) & 0xffc0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment