[svn] / trunk / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/examples/xvid_encraw.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1645, Thu Oct 6 18:28:31 2005 UTC revision 1646, Fri Oct 7 15:02:28 2005 UTC
# Line 21  Line 21 
21   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: xvid_encraw.c,v 1.21 2005-10-06 18:28:31 Isibaar Exp $   * $Id: xvid_encraw.c,v 1.22 2005-10-07 15:02:28 suxen_drol Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 467  Line 467 
467                return (-1);                return (-1);
468                    }                    }
469    
470          ARG_MAXFRAMENR = min(ARG_MAXFRAMENR, avi_info.dwLength);
471    
472                    XDIM = avi_info.rcFrame.right - avi_info.rcFrame.left;                    XDIM = avi_info.rcFrame.right - avi_info.rcFrame.left;
473                    YDIM = avi_info.rcFrame.bottom - avi_info.rcFrame.top;                    YDIM = avi_info.rcFrame.bottom - avi_info.rcFrame.top;
474                    ARG_FRAMERATE = (float) avi_info.dwRate / (float) avi_info.dwScale;                    ARG_FRAMERATE = (float) avi_info.dwRate / (float) avi_info.dwScale;
# Line 754  Line 756 
756          clock_t clk;          clock_t clk;
757    
758          clk = clock();          clk = clock();
759          return (clk * 1000 / CLOCKS_PER_SEC);          return (clk * 1000.0 / CLOCKS_PER_SEC);
760  #endif  #endif
761  }  }
762    

Legend:
Removed from v.1645  
changed lines
  Added in v.1646

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4