summaryrefslogtreecommitdiffstats
path: root/libhb/enctheora.c
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-11-09 17:14:55 +0000
committerjbrjake <[email protected]>2008-11-09 17:14:55 +0000
commitc512791d812b8b559287b54f6a735fde25bdfa7f (patch)
tree86a4291b1ce25123d73a32a384470754dce57dd5 /libhb/enctheora.c
parent72d3f8a6375970cbd4330e8b1cb37132c82c744d (diff)
Bumps libtheora to 1.0 final and fixes a small problem with r1905's chroma rounding re: Theora.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1909 b64f7644-9d1e-0410-96f1-a4d463321fa5
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);