summaryrefslogtreecommitdiff
path: root/libavcodec/eval.c
Commit message (Collapse)AuthorAge
* eval: Check for return value of memory allocations.Ramiro Polla2009-09-12
| | | | Originally committed as revision 19827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* eval: replace variable-length array with av_malloc/freeMåns Rullgård2009-08-19
| | | | | | | | 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
* eval: include libavutil/mathematics.h for NAN and M_PIMåns Rullgård2009-08-10
| | | | Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* eval: include our headers after system headersMåns Rullgård2009-08-10
| | | | Originally committed as revision 19612 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export av_strtod() to eval.h.Stefano Sabatini2009-06-22
| | | | Originally committed as revision 19252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new nameStefano Sabatini2009-06-21
| | | | | | is more expressive. Originally committed as revision 19249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Add a few const qualifiers in appropriate places.Anders Grönberg2008-12-14
| | | | | | patch by Anders Grönberg, galileo.m2 gmail com Originally committed as revision 16120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix test program build: ff_eval was replaced by ff_eval2.Diego Biurrun2008-11-05
| | | | Originally committed as revision 15775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stuff under #if LIBAVCODEC_VERSION_INT.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-24
| | | | Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve parse_primary() error message.Stefano Sabatini2008-05-21
| | | | | | Patch by Stefano Sabatini and Michael Niedermayer Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove more useless mpegvideo.h includesAurelien Jacobs2008-03-05
| | | | Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FixLuca Abeni2008-02-15
| | | | | | | 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
* constMichael Niedermayer2008-02-03
| | | | Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix warnings in test code:Diego Biurrun2008-01-22
| | | | | | | 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
* main() --> main(void)Diego Biurrun2007-11-23
| | | | Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to clip functionsReimar Döffinger2007-02-25
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix a gcc warning, avoid an unnecessary operationLuca Barbato2007-01-16
| | | | Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* update copyright year, it looks odd otherwise :)Michael Niedermayer2006-10-28
| | | | Originally committed as revision 6830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* I hope noone minds, adding myself to eval.c copyright...Oded Shimon2006-10-28
| | | | Originally committed as revision 6827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ignore whitespace in ff_evalOded Shimon2006-10-28
| | | | Originally committed as revision 6821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add missing 'e->value * 'Oded Shimon2006-10-28
| | | | Originally committed as revision 6819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* shut gcc warning, also makes sense for NAN to be returned if the loop was ↵Oded Shimon2006-10-28
| | | | | | never executed Originally committed as revision 6818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for while() loops again ugly syntax while(condition, statements) ↵Michael Niedermayer2006-10-27
| | | | | | but very simple implementation Originally committed as revision 6814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support seperating expressons by ;Michael Niedermayer2006-10-27
| | | | | | 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...) Originally committed as revision 6813 to svn://svn.ffmpeg.org/ffmpeg/trunk
* possible bug of 'gte' being read as 'gt', same with 'lte'Oded Shimon2006-10-27
| | | | Originally committed as revision 6811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor simplificationMichael Niedermayer2006-10-27
| | | | Originally committed as revision 6810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize AVEvalExpr alloc and initMichael Niedermayer2006-10-27
| | | | Originally committed as revision 6809 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new optimized eval method, by seperating parsing and runtimeOded Shimon2006-10-27
| | | | Originally committed as revision 6803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix -a^b which was interpreted as (-a)^bMichael Niedermayer2006-10-16
| | | | Originally committed as revision 6713 to svn://svn.ffmpeg.org/ffmpeg/trunk
* asin() acos() atan()Michael Niedermayer2006-10-16
| | | | Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mod()Michael Niedermayer2006-10-16
| | | | Originally committed as revision 6710 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variables and the corresponding warnings along with them.Diego Biurrun2006-10-03
| | | | Originally committed as revision 6536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Break compatibility only when first part of version number changes, in thisPanagiotis Issaris2006-09-27
| | | | | | specific case for ff_eval deprecation. Originally committed as revision 6358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVOption parsign code use ff_eval2()Panagiotis Issaris2006-09-27
| | | | Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation by postponing deprecation of ff_eval() until the next versionPanagiotis Issaris2006-09-27
| | | | | | increment. Originally committed as revision 6352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce ff_eval2 which is equivalent to ff_eval but does not log anything.Panagiotis Issaris2006-09-26
| | | | | | 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
* Missing extern declaration for av_strtod.Panagiotis Issaris2006-09-24
| | | | Originally committed as revision 6327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticMichael Niedermayer2006-09-24
| | | | Originally committed as revision 6326 to svn://svn.ffmpeg.org/ffmpeg/trunk
* segfault fixMichael Niedermayer2006-09-24
| | | | | | thanks to takis for finding the cause of this Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define NAN -if not already defined- as 0.0/0.0Panagiotis Issaris2006-09-23
| | | | Originally committed as revision 6324 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for SI (k, M, ...) and IEC/IEEE (Ki, Mi, ...) units.Panagiotis Issaris2006-09-18
| | | | Originally committed as revision 6287 to svn://svn.ffmpeg.org/ffmpeg/trunk
* K prefixMichael Niedermayer2006-09-17
| | | | | | add SI prefix selftest Originally committed as revision 6286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support SI and some non SI prefixesMichael Niedermayer2006-09-17
| | | | Originally committed as revision 6284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2005-01-17
| | | | | | benchmark Originally committed as revision 3844 to svn://svn.ffmpeg.org/ffmpeg/trunk