File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11
11
namespace avtranscoder
12
12
{
13
13
14
+ typedef std::vector<Option> OptionArray;
15
+ typedef std::map<std::string, Option> OptionMap;
16
+
14
17
/* *
15
18
* @brief Wrapper of AVContext.
16
19
* Can access Options through the corresponding context.
@@ -37,16 +40,16 @@ class AvExport Context
37
40
loadOptions ( avContext, req_flags );
38
41
}
39
42
40
- std::vector<Option> getOptions ();
41
- std::map<std::string, Option> & getOptionsMap () { return _options; }
43
+ OptionArray getOptions ();
44
+ OptionMap & getOptionsMap () { return _options; }
42
45
43
46
Option& getOption ( const std::string& optionName ) { return _options.at (optionName); }
44
47
45
48
protected:
46
49
void loadOptions ( void * av_class, int req_flags );
47
50
48
51
private:
49
- std::map<std::string, Option> _options;
52
+ OptionMap _options;
50
53
void * _avContext; // /< Has link (no ownership)
51
54
};
52
55
You can’t perform that action at this time.
0 commit comments