summaryrefslogtreecommitdiff
path: root/libavcodec/opt.c
Commit message (Collapse)AuthorAge
* Make av_set_string3() print a message in case of unknown option.Stefano Sabatini2009-05-14
| | | | Originally committed as revision 18826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Provide a context to av_log() calls in av_set_number2() andStefano Sabatini2009-05-14
| | | | | | av_set_string3(). Originally committed as revision 18825 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
* Revert r16257:Andreas Öman2008-12-22
| | | | | | | Include "libavutil/common.h" where we use llrint() in case ffmpeg's own llrint() is to be used. Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include "libavutil/common.h" where we use llrint() in case ffmpeg'sAndreas Öman2008-12-21
| | | | | | own llrint() is to be used. Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functionsStefano Sabatini2008-12-19
| | | | | | | av_set_string() and av_set_string2(), they will be dropped at the next major bump. Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove calls to deprecated av_set_string2() with calls toStefano Sabatini2008-12-19
| | | | | | av_set_string3(). Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_set_string3().Stefano Sabatini2008-12-16
| | | | Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement the av_set_number2() internal function, which makes possibleStefano Sabatini2008-12-15
| | | | | | | to distinguish between a not found option failure and a not valid value failure. Originally committed as revision 16156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove ending period in a log message, which was inconsistent withStefano Sabatini2008-12-15
| | | | | | most other messages. Originally committed as revision 16155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove set_all_opt() and its use in av_set_string2(). MakeStefano Sabatini2008-12-14
| | | | | | | | | | | | av_set_string() and av_set_string2() do not accept as parameter the name of a named constant. This avoids av_set_string2() and av_set_string() to misbehave when there is an option and a named constant with the same name. See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()". Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix FF_OPT_TYPE_INT64 support of defaults.Michael Niedermayer2008-12-05
| | | | Originally committed as revision 16008 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the logic to access the location of a string to free when settingStefano Sabatini2008-07-13
| | | | | | | a new value for a string with av_set_string2(). Fix a segmentation fault. Originally committed as revision 14219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the av_set_string() free / alloc issue.Michael Niedermayer2008-07-08
| | | | Originally committed as revision 14134 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
* Anoter try to make +- behave sanely.Michael Niedermayer2008-05-24
| | | | Originally committed as revision 13281 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix + - bug with non flags.Michael Niedermayer2008-05-23
| | | | Originally committed as revision 13243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_set_string() fail when number could not be set.Stefano Sabatini2008-05-15
| | | | | | Patch by Stefano Sabatini stefano§sabatini-lalaATposte§it Originally committed as revision 13155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update offset in the option string later, to have a better error message.Stefano Sabatini2008-05-14
| | | | | | Patch by Stefano Sabatini stefanoTODsabatini-lalaCHEZposteTODit Originally committed as revision 13153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a typo.Stefano Sabatini2008-05-13
| | | | | | Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix handling flags with the MSB set.Michael Niedermayer2008-03-05
| | | | Originally committed as revision 12324 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FixLuca Abeni2008-02-15
| | | | | | | opt.c: In function ‘av_set_string’: opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FF_OPT_TYPE_BINARY and use it to add a cryptokey optionReimar Döffinger2007-12-17
| | | | Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a missing break, before av_set_number would always return NULL forReimar Döffinger2007-12-13
| | | | | | FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption Originally committed as revision 11213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-12-03
| | | | Originally committed as revision 11141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make the AVOption code work with strings instead of crashMichael Niedermayer2007-12-03
| | | | Originally committed as revision 11140 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
* Fix a bug in av_find_opt(). Because some of the AVOption structures have fieldKamil Nowosad2007-03-30
| | | | | | | | | | | | unit = NULL, the function could pass NULL to strcmp and cause a segfault. Patch by Kamil Nowosad, k nowosad % students mimuw edu pl. Original thread: Subject: [PATCH] small bugfix in av_find_opt() Date: 03/23/2007 12:20 PM Originally committed as revision 8553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add 'all' and 'none' options for partitions configLimin Wang2007-03-30
| | | | | | | | | Patch by Limin Wang % lance P lmwang A gmail P com % Original thread: date: Mar 24, 2007 3:53 PM subject: [Ffmpeg-devel] [PATCH] add all and none options for partitions config Originally committed as revision 8552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add av_opt_set_defaults2() which sets just defaults from AVOptions whos ↵Michael Niedermayer2007-03-07
| | | | | | flags match a user specified & mask = flags Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make av_find_opt() available to the public and add a mask+flags parameter to ↵Michael Niedermayer2007-03-07
| | | | | | search for specific AVOptions Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org ↵Luca Barbato2007-01-21
| | | | | | aka "the other Diego" Originally committed as revision 7601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fixes:Dominik Mierzejewski2006-10-08
| | | | | | | | | | opt.c:327: warning: no return statement in function returning non-void opt_list return value is never checked. Approved by Michael. Originally committed as revision 6593 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
* Reformat the output of the list of available AVOptions, by indenting thePanagiotis Issaris2006-09-29
| | | | | | | parameters of certain options and displaying them _right after_ the actual option taking the parameter. Originally committed as revision 6385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pull out the ff_eval* from the mpegvideo header, as it doesn't belong there andPanagiotis Issaris2006-09-29
| | | | | | put it in a separate file. Originally committed as revision 6383 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
* Inform the user that a certain AVOption is out of range.Panagiotis Issaris2006-09-20
| | | | Originally committed as revision 6295 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
* Allow parameter values (AVOptions) to use the 'k', 'M', 'G'Panagiotis Issaris2006-09-14
| | | | | | and 'B' postfixes. Originally committed as revision 6249 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adds doxygen docs to av_opt_set_defaults. Patch by TakisPanagiotis Issaris2006-09-10
| | | | Originally committed as revision 6226 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make AVOptions default value field work.Panagiotis Issaris2006-09-10
| | | | | | | | | Patch by Panagiotis Issaris % takis P issaris A uhasselt P be % Original thread: Date: Sep 8, 2006 3:22 PM Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give a hint about what is the expected the data type of command line options.Antoine Cellerier2006-02-23
| | | | | | | | | Patch by Antoine Cellerier < dionoea AaH via pOiS ecp PoIs fr > Original thread: Date: Nov 1, 2005 7:41 PM Subject: [Ffmpeg-devel] libavcodec help Originally committed as revision 5054 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
* use PRIxN, %zd, %td formats where neededMåns Rullgård2005-12-12
| | | | Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont print NULLMichael Niedermayer2005-09-20
| | | | Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont include opt.h in avcodec.hMichael Niedermayer2005-09-12
| | | | Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert some options in ffmpeg.c to AVOptionsMichael Niedermayer2005-09-12
| | | | Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid stdio.hMichael Niedermayer2005-09-11
| | | | Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk