theora: Don't always round to even width/height
authorBenjamin Otte <otte@gnome.org>
Thu, 10 Sep 2009 07:36:31 +0000 (09:36 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 18:12:25 +0000 (20:12 +0200)
commita3e92d307806e733f26f46f5de896001ba15c28b
tree0241c8b2b0872d8ccb26cfd6593936b3e08ad969
parent0ac35d85550f4552b9e674bb04178b5a8fd4bffe
theora: Don't always round to even width/height

Previously, the code always rounded to even sizes. Now it only ensures
that pic_x and pic_y are multiples of 2 if the output format requires
it.

Also inlcudes fixes to take pic_x/y into account properly when copying
the buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=594729
ext/theora/theoradec.c