[xiph-commits] r9422 - trunk/ffmpeg2theora

j at motherfish-iii.xiph.org j at motherfish-iii.xiph.org
Thu Jun 9 09:03:10 PDT 2005


Author: j
Date: 2005-06-09 09:03:08 -0700 (Thu, 09 Jun 2005)
New Revision: 9422

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
offset typo

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2005-06-09 15:44:38 UTC (rev 9421)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2005-06-09 16:03:08 UTC (rev 9422)
@@ -267,8 +267,8 @@
         this->frame_y_offset = 0;
         
         if(this->frame_width > 0 || this->frame_height > 0){
-            int frame_padtop = this->frame_width-this->picture_width;
-            int frame_padbottom = this->frame_y_offset;
+            int frame_padtop = this->frame_y_offset;
+            int frame_padbottom = this->frame_height-this->picture_height;
             int frame_padleft = this->frame_x_offset;
             int frame_padright = this->frame_width-this->picture_width;
 



More information about the commits mailing list