summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/r210dec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c
index b88211eeb7..b1fe62d725 100644
--- a/libavcodec/r210dec.c
+++ b/libavcodec/r210dec.c
@@ -64,9 +64,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
uint32_t pixel = av_be2ne32(*src++);
uint16_t r, g, b;
if (avctx->codec_id==CODEC_ID_R210) {
- b = pixel << 6;
- g = (pixel >> 4) & 0xffc0;
- r = (pixel >> 14) & 0xffc0;
+ b = pixel << 6;
+ g = (pixel >> 4) & 0xffc0;
+ r = (pixel >> 14) & 0xffc0;
} else {
b = pixel << 4;
g = (pixel >> 6) & 0xffc0;