~ubuntu-branches/ubuntu/utopic/ffmpeg-debian/utopic

« back to all changes in this revision

Viewing changes to libavutil/mathematics.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-01-20 09:20:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090120092053-izz63p40hc98qfgp
Tags: 3:0.svn20090119-1ubuntu1
* merge from debian. LP: #318501
* new version fixes CVE-2008-3230, LP: #253767

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    AV_ROUND_NEAR_INF = 5, ///< round to nearest and halfway cases away from zero
50
50
};
51
51
 
 
52
int64_t av_const av_gcd(int64_t a, int64_t b);
 
53
 
52
54
/**
53
55
 * rescale a 64bit integer with rounding to nearest.
54
56
 * a simple a*b/c isn't possible as it can overflow