summaryrefslogtreecommitdiffstats
path: root/libhb/encx265.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encx265.c')
-rw-r--r--libhb/encx265.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c
index 0c5d4141a..90d786983 100644
--- a/libhb/encx265.c
+++ b/libhb/encx265.c
@@ -414,9 +414,9 @@ static hb_buffer_t* nal_encode(hb_work_object_t *w,
buf->s.stop = pic_out->pts + buf->s.duration;
buf->s.start = pic_out->pts;
buf->s.renderOffset = pic_out->dts;
- if (w->config->h264.init_delay == 0 && pic_out->dts < 0)
+ if (w->config->init_delay == 0 && pic_out->dts < 0)
{
- w->config->h264.init_delay -= pic_out->dts;
+ w->config->init_delay -= pic_out->dts;
}
switch (pic_out->sliceType)