[xiph-commits] r16106 - branches/theora-thusnelda/lib/enc

tterribe at svn.xiph.org tterribe at svn.xiph.org
Sat Jun 13 12:01:48 PDT 2009


Author: tterribe
Date: 2009-06-13 12:01:48 -0700 (Sat, 13 Jun 2009)
New Revision: 16106

Modified:
   branches/theora-thusnelda/lib/enc/encinfo.c
Log:
Don't flip crop offset when writing the info header.
It was already flipped in oc_state_init().


Modified: branches/theora-thusnelda/lib/enc/encinfo.c
===================================================================
--- branches/theora-thusnelda/lib/enc/encinfo.c	2009-06-13 18:52:22 UTC (rev 16105)
+++ branches/theora-thusnelda/lib/enc/encinfo.c	2009-06-13 19:01:48 UTC (rev 16106)
@@ -41,8 +41,7 @@
       oggpackB_write(_opb,_state->info.pic_width,24);
       oggpackB_write(_opb,_state->info.pic_height,24);
       oggpackB_write(_opb,_state->info.pic_x,8);
-      oggpackB_write(_opb,_state->info.frame_height-
-       _state->info.pic_height-_state->info.pic_y,8);
+      oggpackB_write(_opb,_state->info.pic_y,8);
       oggpackB_write(_opb,_state->info.fps_numerator,32);
       oggpackB_write(_opb,_state->info.fps_denominator,32);
       oggpackB_write(_opb,_state->info.aspect_numerator,24);



More information about the commits mailing list