[xiph-commits] r10144 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Mon Oct 10 04:58:53 PDT 2005


Author: j
Date: 2005-10-10 04:58:51 -0700 (Mon, 10 Oct 2005)
New Revision: 10144

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
fix padding to match upside down frame_y_offset

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2005-10-10 04:01:55 UTC (rev 10143)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2005-10-10 11:58:51 UTC (rev 10144)
@@ -333,8 +333,8 @@
         this->frame_y_offset = 0;
         
         if(this->frame_width > 0 || this->frame_height > 0){
-            int frame_padtop = this->frame_y_offset;
-            int frame_padbottom = this->frame_height-this->picture_height;
+            int frame_padtop = this->frame_height-this->picture_height;
+            int frame_padbottom = this->frame_y_offset;
             int frame_padleft = this->frame_x_offset;
             int frame_padright = this->frame_width-this->picture_width;
 



More information about the commits mailing list