lavu/opt: implement av_opt_get_key_value().

This function does the low-level work of av_opt_set_from_string()
but can be used when there is no option context or when a generic
handling of unknown keys is needed.

av_opt_set_from_string() is changed to make use of it.
This commit is contained in:
Nicolas George
2012-11-02 11:55:53 +01:00
parent e021eeb9f0
commit 3bdf4971ba
4 changed files with 74 additions and 15 deletions

View File

@@ -15,6 +15,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2012-11-02 - xxxxxxx - lavu 52.4.100 - opt.h
Add av_opt_get_key_value().
2012-11-03 - xxxxxxx - lavu 52.3.100 - opt.h
Add AV_OPT_TYPE_SAMPLE_FMT value to AVOptionType enum.