summaryrefslogtreecommitdiffstats
path: root/libhb/decpgssub.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-12-08 17:57:06 -0800
committerJohn Stebbins <[email protected]>2016-12-17 07:28:51 -0800
commit0124018f5e3604025542761aad55f32b9e3128f3 (patch)
tree051fac1db17df252c9d67bc4ead56dd0ef69117d /libhb/decpgssub.c
parent38bb4a24ab8f6eaff037503f47a09070a0a99ff8 (diff)
decpgssub: fix use of deprecated rect->pict
Diffstat (limited to 'libhb/decpgssub.c')
-rw-r--r--libhb/decpgssub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decpgssub.c b/libhb/decpgssub.c
index 9efb83009..f3cf60cf0 100644
--- a/libhb/decpgssub.c
+++ b/libhb/decpgssub.c
@@ -441,8 +441,8 @@ static int decsubWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
uint8_t color;
pixel = yy * rect->w + xx;
- color = rect->pict.data[0][pixel];
- argb = ((uint32_t*)rect->pict.data[1])[color];
+ color = rect->data[0][pixel];
+ argb = ((uint32_t*)rect->data[1])[color];
yuv = hb_rgb2yuv(argb);
lum[xx] = (yuv >> 16) & 0xff;