|
|
@ -783,7 +783,7 @@ typedef struct FlatContext { |
|
|
|
static const AVOption flat_options[]= { |
|
|
|
static const AVOption flat_options[]= { |
|
|
|
{"sep_char", "set separator", OFFSET(sep_str), AV_OPT_TYPE_STRING, {.str="."}, CHAR_MIN, CHAR_MAX }, |
|
|
|
{"sep_char", "set separator", OFFSET(sep_str), AV_OPT_TYPE_STRING, {.str="."}, CHAR_MIN, CHAR_MAX }, |
|
|
|
{"s", "set separator", OFFSET(sep_str), AV_OPT_TYPE_STRING, {.str="."}, CHAR_MIN, CHAR_MAX }, |
|
|
|
{"s", "set separator", OFFSET(sep_str), AV_OPT_TYPE_STRING, {.str="."}, CHAR_MIN, CHAR_MAX }, |
|
|
|
{"hierachical", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{"hierarchical", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{"h", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{"h", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{NULL}, |
|
|
|
{NULL}, |
|
|
|
}; |
|
|
|
}; |
|
|
@ -939,7 +939,7 @@ typedef struct { |
|
|
|
#define OFFSET(x) offsetof(INIContext, x) |
|
|
|
#define OFFSET(x) offsetof(INIContext, x) |
|
|
|
|
|
|
|
|
|
|
|
static const AVOption ini_options[] = { |
|
|
|
static const AVOption ini_options[] = { |
|
|
|
{"hierachical", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{"hierarchical", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{"h", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{"h", "specify if the section specification should be hierarchical", OFFSET(hierarchical), AV_OPT_TYPE_INT, {.dbl=1}, 0, 1 }, |
|
|
|
{NULL}, |
|
|
|
{NULL}, |
|
|
|
}; |
|
|
|
}; |
|
|
|