summaryrefslogtreecommitdiffstats
path: root/libhb/decssasub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decssasub.c')
-rw-r--r--libhb/decssasub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decssasub.c b/libhb/decssasub.c
index 03fb495db..460a8ddc0 100644
--- a/libhb/decssasub.c
+++ b/libhb/decssasub.c
@@ -549,8 +549,8 @@ static hb_buffer_t *ssa_decode_line_to_picture( hb_work_object_t * w, uint8_t *i
int srcA = srcRgba[3];
*dstY = (srcYuv >> 16) & 0xff;
- *dstU = (srcYuv >> 8 ) & 0xff;
- *dstV = (srcYuv >> 0 ) & 0xff;
+ *dstV = (srcYuv >> 8 ) & 0xff;
+ *dstU = (srcYuv >> 0 ) & 0xff;
*dstA = srcA / 16; // HB's max alpha value is 16
}