summaryrefslogtreecommitdiffstats
path: root/libhb/enctheora.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/enctheora.c')
-rw-r--r--libhb/enctheora.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/enctheora.c b/libhb/enctheora.c
index c2df9d9a6..bcc27eb4d 100644
--- a/libhb/enctheora.c
+++ b/libhb/enctheora.c
@@ -148,7 +148,7 @@ int enctheoraWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
yuv.y = in->data;
yuv.u = in->data + job->width * job->height;
- yuv.v = in->data + yuv.uv_width * yuv.uv_height;
+ yuv.v = in->data + ( job->width * job->height ) + ( yuv.uv_width * yuv.uv_height );
theora_encode_YUVin(&pv->theora, &yuv);