30 Commits (3713cf11c62df4d993272843c7ef57a1dca3a386)

Author SHA1 Message Date
Stefano Sabatini 141f03541b opt: do not crash in av_set_options_string() if opts == NULL 14 years ago
Anton Khirnov dc59ec5e79 AVOptions: add av_opt_find() as a replacement for av_find_opt. 14 years ago
Anton Khirnov 7e83e1c511 AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context. 14 years ago
Martin Storsjö cb7c11cc9e avoptions: Add an av_opt_flag_is_set function for inspecting flag fields 14 years ago
Anton Khirnov b39b06233d AVOptions: add av_opt_free convenience function. 14 years ago
Michael Niedermayer 87ababd7c5 avopt: fix segfault 14 years ago
Anton Khirnov 6c117d43c9 AVOptions: set string default values. 14 years ago
Martin Storsjö 80068da3a0 avoptions: Return explicitly NAN or {0,0} if the option isn't found 14 years ago
Martin Storsjö 8089b7fa8c avoptions: Check the return value from av_get_number 14 years ago
Martin Storsjö 0eed5016a2 avoptions: Support getting flag values using av_get_int 14 years ago
Anton Khirnov b66752790a AVOptions: make default_val a union, as proposed in AVOption2. 14 years ago
Michael Niedermayer 3862ebba23 AVOptions: av_set_string3() allow NULL strings 14 years ago
Anton Khirnov 85770f2a26 AVOptions: make default_val a union, as proposed in AVOption2. 14 years ago
Anton Khirnov 5a43bd5e26 options: simplify av_find_opt by using av_next_option. 14 years ago
Stefano Sabatini 58f8463947 error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Stefano Sabatini d2af7205a1 Use hierarchic names convention (prefix them with av_expr) for the 14 years ago
Stefano Sabatini 584b8edb99 Add missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2(). 14 years ago
Stefano Sabatini c85eef4ed8 Move av_set_options_string() from libavfilter to libavutil. 14 years ago
Stefano Sabatini be0e596a57 Simplify include, since opt.c is now in libavutil there is no need 14 years ago
Stefano Sabatini 8f1afd3b37 Cosmetics: apply misc style fixes. 14 years ago
Michael Niedermayer 6ed040408b Move AVOptions from libavcodec to libavutil 14 years ago
Stefano Sabatini e44c01563f Deprecate av_opt_show() in favor of a new function av_opt_show2(), 14 years ago
Stefano Sabatini 0b99215c0e Move eval.c and eval.h from libavcodec to libavutil, and make the eval 15 years ago
Stefano Sabatini 9ace13b416 Make ff_parse_expr() and ff_parse_and_eval_expr() return an int 15 years ago
Michael Niedermayer 2b65bb45b5 Change eval API to take parent log context and log level offset. 15 years ago
Stefano Sabatini edd259f92f Change the order of parameters for ff_eval_expr() and 15 years ago
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Stefano Sabatini a367be1e88 Rename ff_eval2() to ff_parse_and_eval_expr(). 15 years ago
Stefano Sabatini e8a9d01846 Fix misc typos, patch by 15 years ago
Michael Niedermayer c69b3e0dc1 Revert r20249, it seems the union trick works everywhere 15 years ago
Michael Niedermayer b388d5e4c6 Very evil missuse of svn to test if AVOption and AVOption2 are compatible. 15 years ago
Michael Niedermayer 1fe4abf397 Revert: 15 years ago
Stefano Sabatini be1fb76fa1 Make av_set_string3() print a message in case of unknown option. 16 years ago
Stefano Sabatini 50f68bdebf Provide a context to av_log() calls in av_set_number2() and 16 years ago
Diego Biurrun bad5537e2c Use full internal pathname in doxygen @file directives. 16 years ago
Andreas Öman 11c23b64ac Revert r16257: 16 years ago
Andreas Öman 1af34f094e Include "libavutil/common.h" where we use llrint() in case ffmpeg's 16 years ago
Stefano Sabatini 64e74b68a4 Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions 16 years ago
Stefano Sabatini f16dd7e65a Remove calls to deprecated av_set_string2() with calls to 16 years ago
Stefano Sabatini 7b1454c439 Implement av_set_string3(). 16 years ago
Stefano Sabatini 301cc4f370 Implement the av_set_number2() internal function, which makes possible 16 years ago
Stefano Sabatini a59d44fdf4 Remove ending period in a log message, which was inconsistent with 16 years ago
Stefano Sabatini 54c441c860 Remove set_all_opt() and its use in av_set_string2(). Make 16 years ago
Michael Niedermayer 36d5b17514 Fix FF_OPT_TYPE_INT64 support of defaults. 16 years ago
Stefano Sabatini f969058998 Fix the logic to access the location of a string to free when setting 17 years ago
Michael Niedermayer 8dbee6538d Fix the av_set_string() free / alloc issue. 17 years ago
Stefan Gehrer cf2baeb338 mark read-only data as const 17 years ago
Michael Niedermayer 9d2e6e84ce Anoter try to make +- behave sanely. 17 years ago
Michael Niedermayer 4a13a2d4f7 Fix + - bug with non flags. 17 years ago