diff options
author | John Stebbins <[email protected]> | 2016-12-08 17:57:06 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-17 07:28:51 -0800 |
commit | 0124018f5e3604025542761aad55f32b9e3128f3 (patch) | |
tree | 051fac1db17df252c9d67bc4ead56dd0ef69117d /libhb/decpgssub.c | |
parent | 38bb4a24ab8f6eaff037503f47a09070a0a99ff8 (diff) |
decpgssub: fix use of deprecated rect->pict
Diffstat (limited to 'libhb/decpgssub.c')
-rw-r--r-- | libhb/decpgssub.c | 4 |
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; |