Statistics
| Branch: | Revision:

ffmpeg / libavutil / rational.c @ 490a022d

History | View | Annotate | Download (4.44 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

59a3bf0e 10/05/2010 01:43 AM Michael Niedermayer

Add selftest code for av_cmp_q().

Originally committed as revision 25339 to svn://svn.ffmpeg.org/ffmpeg/trunk

6b4ed22f 10/04/2010 01:41 PM Stefano Sabatini

Make av_d2q() manage the case in which the value to convert is inf.

Originally committed as revision 25332 to svn://svn.ffmpeg.org/ffmpeg/trunk

1405782c 10/02/2010 09:50 AM Stefano Sabatini

Avoid cast of double nan to int.
It may cause exceptions on some platform.

Originally committed as revision 25311 to svn://svn.ffmpeg.org/ffmpeg/trunk

b64b4134 10/01/2010 01:55 PM Måns Rullgård

Rename libavutil/assert.h to avassert.h

This avoids conflicts with the system assert.h.

Originally committed as revision 25284 to svn://svn.ffmpeg.org/ffmpeg/trunk

b926b628 09/30/2010 09:57 PM Michael Niedermayer

av_assert() system.
With this the developer can now choose if he wants an assert always enabled or at which
compile time assert level. This can thus replace the #define NDEBUG hacks

Originally committed as revision 25278 to svn://svn.ffmpeg.org/ffmpeg/trunk

31fdd641 05/24/2010 12:44 AM David Conrad

Convert NaN to 0/0 in av_d2q

This fixes aspect ratio calculation for encoding from files with 0/0 stored,
common with ogg/theora

Originally committed as revision 23280 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk

674bd4f6 02/01/2009 12:20 AM Diego Biurrun

cosmetics: Use 'num' instead of 'nom' as abbreviation for numerator.

Originally committed as revision 16910 to svn://svn.ffmpeg.org/ffmpeg/trunk

89c9ff50 01/28/2009 12:16 AM Diego Biurrun

spelling/grammar/consistency review part I

Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk

dfcb6b56 01/24/2009 02:55 PM Diego Biurrun

Directly #include a bunch of indirectly #included headers.

Originally committed as revision 16748 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ce6c138 01/17/2009 11:13 AM Aurelien Jacobs

export gcd function as av_gcd()

Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk

05b90fc0 09/25/2008 07:23 PM Stefano Sabatini

Implement av_nearer_q() and av_find_nearest_q_idx() functions.

Originally committed as revision 15415 to svn://svn.ffmpeg.org/ffmpeg/trunk

e5a389a1 07/05/2007 10:40 AM Diego Biurrun

license header consistency cosmetics

Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b006599 02/26/2007 02:27 PM Dujardin Bernard

move doxy comments from rational.c to rational.h and add some new comments
patch by Dujardin Bernard dujardin P iut A numericable P fr

Originally committed as revision 8132 to svn://svn.ffmpeg.org/ffmpeg/trunk

6880edab 01/09/2007 11:58 AM Michael Niedermayer

fix av_reduce() with things like 1/0 and 0/0

Originally committed as revision 7431 to svn://svn.ffmpeg.org/ffmpeg/trunk

62b9fc15 11/30/2006 11:43 AM Michael Niedermayer

fix overflow and remove wrong comment

Originally committed as revision 7187 to svn://svn.ffmpeg.org/ffmpeg/trunk

3db1b8b5 11/30/2006 01:18 AM Michael Niedermayer

return optimal fraction
based on a patch by Uoti Urpala

Originally committed as revision 7186 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

79dc59b7 07/20/2006 10:14 AM Michael Niedermayer

simplify

Originally committed as revision 5802 to svn://svn.ffmpeg.org/ffmpeg/trunk

0912bf57 07/20/2006 09:06 AM Michael Niedermayer

for floats fabs is better & smaller then ABS

Originally committed as revision 5801 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

c11c2bc2 08/01/2005 08:07 PM Alexander Strasser

libavutil: Utility code from libavcodec moved to a separate library.

Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk