Statistics
| Branch: | Revision:

ffmpeg / libavcodec / eval.c @ 0345f36b

History | View | Annotate | Download (13.2 KB)

# Date Author Comment
0345f36b 09/12/2009 05:59 PM Ramiro Polla

eval: Check for return value of memory allocations.

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

0314dead 08/19/2009 09:59 PM Måns Rullgård

eval: replace variable-length array with av_malloc/free

There is a theoretical possibility to pass a very long string to ff_parse,
which could crash if allocated from the stack. This allows the allocation
to be checked properly.

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

87a920c6 08/10/2009 01:27 AM Måns Rullgård

eval: include libavutil/mathematics.h for NAN and M_PI

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

9a88c1df 08/10/2009 01:27 AM Måns Rullgård

eval: include our headers after system headers

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

1c2744d1 06/22/2009 10:22 PM Stefano Sabatini

Export av_strtod() to eval.h.

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

e877eaac 06/21/2009 09:37 PM Stefano Sabatini

Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
is more expressive.

Originally committed as revision 19249 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

cac55c91 12/14/2008 12:24 PM Anders Grönberg

Add a few const qualifiers in appropriate places.
patch by Anders Grönberg, galileo.m2 gmail com

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

c2dec194 11/05/2008 01:32 PM Diego Biurrun

Fix test program build: ff_eval was replaced by ff_eval2.

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

d578432d 09/08/2008 03:03 PM Michael Niedermayer

Remove stuff under #if LIBAVCODEC_VERSION_INT.

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

cf2baeb3 06/24/2008 08:01 PM Stefan Gehrer

mark read-only data as const

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

cad2af97 05/21/2008 05:50 PM Stefano Sabatini

Improve parse_primary() error message.
Patch by Stefano Sabatini and Michael Niedermayer

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

fbd4293d 03/05/2008 12:43 AM Aurelien Jacobs

remove more useless mpegvideo.h includes

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

6881b8e5 02/15/2008 12:04 PM Luca Abeni

Fix
utils.c: In function ‘avcodec_get_context_defaults2’:
utils.c:793: warning: assignment discards qualifiers from pointer target type

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

20e4beae 02/03/2008 11:25 PM Michael Niedermayer

const

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

e5b10e31 01/22/2008 09:20 AM Diego Biurrun

Fix warnings in test code:
eval.c:454: warning: return type defaults to 'int'
eval.c:464: warning: control reaches end of non-void function

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

f8a80fd6 11/23/2007 12:52 AM Diego Biurrun

main() --> main(void)

Originally committed as revision 11079 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

f66e4f5f 02/25/2007 10:27 AM Reimar Döffinger

Add av_ prefix to clip functions

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

a02142a5 01/16/2007 10:07 PM Luca Barbato

fix a gcc warning, avoid an unnecessary operation

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

3cedeeca 10/28/2006 08:18 PM Michael Niedermayer

update copyright year, it looks odd otherwise :)

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

b5c5a86b 10/28/2006 06:30 PM Oded Shimon

I hope noone minds, adding myself to eval.c copyright...

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

8cd68d80 10/28/2006 09:49 AM Oded Shimon

ignore whitespace in ff_eval

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

72523c7a 10/28/2006 08:03 AM Oded Shimon

add missing 'e->value * '

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

63a547ea 10/28/2006 07:03 AM Oded Shimon

shut gcc warning, also makes sense for NAN to be returned if the loop was never executed

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

45ee0e32 10/27/2006 10:35 PM Michael Niedermayer

add support for while() loops again ugly syntax while(condition, statements) but very simple implementation

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

835954e3 10/27/2006 10:16 PM Michael Niedermayer

support seperating expressons by ;
support variables, the syntax isnt beautifull (st(a,b) means var[a]=b and ld(a) var[a]) but for a mere 19 lines of code its fairly simple, if anyone wants to write real variables support with names for variables and = and [] then that would of course be welcome but only if it doesnt bloat the code up terribly...)...

d024359a 10/27/2006 09:37 PM Oded Shimon

possible bug of 'gte' being read as 'gt', same with 'lte'

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

577eab6b 10/27/2006 09:13 PM Michael Niedermayer

minor simplification

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

a98f4515 10/27/2006 08:38 PM Michael Niedermayer

factorize AVEvalExpr alloc and init

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

85b4eb08 10/27/2006 04:42 PM Oded Shimon

new optimized eval method, by seperating parsing and runtime

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

2c409cc7 10/16/2006 07:06 PM Michael Niedermayer

fix -a^b which was interpreted as (-a)^b

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

cacb17b4 10/16/2006 06:36 PM Michael Niedermayer

asin() acos() atan()

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

212d8488 10/16/2006 03:01 PM Michael Niedermayer

mod()

Originally committed as revision 6710 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

36c32bdd 10/03/2006 05:12 PM Diego Biurrun

Remove unused variables and the corresponding warnings along with them.

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

0ec6065a 09/27/2006 08:08 PM Panagiotis Issaris

Break compatibility only when first part of version number changes, in this
specific case for ff_eval deprecation.

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

95c99430 09/27/2006 08:01 PM Panagiotis Issaris

Make AVOption parsign code use ff_eval2()

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

a2eb288a 09/27/2006 11:09 AM Panagiotis Issaris

Fix compilation by postponing deprecation of ff_eval() until the next version
increment.

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

ae41e29b 09/26/2006 10:01 PM Panagiotis Issaris

Introduce ff_eval2 which is equivalent to ff_eval but does not log anything.
Instead, error messages are passed upward by means of a struct member variable.

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

97a9195f 09/24/2006 10:53 AM Panagiotis Issaris

Missing extern declaration for av_strtod.

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

b8100438 09/24/2006 10:41 AM Michael Niedermayer

cosmetic

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

e6b12001 09/24/2006 10:38 AM Michael Niedermayer

segfault fix
thanks to takis for finding the cause of this

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

79ca4de3 09/23/2006 08:50 AM Panagiotis Issaris

Define NAN if not already defined as 0.0/0.0

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

97c73545 09/18/2006 11:35 AM Panagiotis Issaris

Add support for SI (k, M, ...) and IEC/IEEE (Ki, Mi, ...) units.

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

7eb1042c 09/17/2006 10:22 AM Michael Niedermayer

K prefix
add SI prefix selftest

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

e66477af 09/17/2006 08:52 AM Michael Niedermayer

support SI and some non SI prefixes

Originally committed as revision 6284 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

80a49958 01/17/2005 06:25 PM Michael Niedermayer

simplify
benchmark

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

67e11730 01/15/2005 08:04 PM Michael Niedermayer

simplify

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

b349fde1 01/15/2005 07:05 PM Michael Niedermayer

simplify, null pointer, selftest

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

69f5de18 02/18/2004 12:49 PM Alex Beregszaszi

avoid negative array indices

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

9b879566 11/03/2003 01:26 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

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

5c91a675 02/10/2003 09:35 AM Zdenek Kabelac
  • static,const,compiler warning cleanup

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

471d7dc3 08/30/2002 04:16 PM Michael Niedermayer

undefined M_PI / M_E fix

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

d0d816d8 08/25/2002 10:54 PM Rémi Guyomarch

NAN doesnt exist on FreeBSD patch by (Rémi Guyomarch <rguyom at pobox dot com>)

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

3aa102be 08/25/2002 09:19 PM Michael Niedermayer

new ratecontrol code

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