Browse Source

Fix R10k blue channel output.

Makes R10k -> gbrp10 ffv1 -> R10k roundtrip bit-identical.
tags/n2.6
Carl Eugen Hoyos 10 years ago
parent
commit
6a6a0620e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/r210dec.c

+ 1
- 1
libavcodec/r210dec.c View File

@@ -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;
}


Loading…
Cancel
Save