File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class AvExport Option
79
79
void setRatio (const int num, const int den);
80
80
81
81
// array of childs
82
- bool hasChild () const { return _childOptions.size (); }
82
+ bool hasChild () const { return ! _childOptions.empty (); }
83
83
const std::vector<Option>& getChilds () const { return _childOptions; }
84
84
const Option& getChildAtIndex (const size_t index) const { return _childOptions.at (index); }
85
85
int getDefaultChildIndex () const { return _defaultChildIndex; }
Original file line number Diff line number Diff line change 11
11
#define ResampleContext SwrContext
12
12
#endif
13
13
14
- class ResampleContext ;
14
+ struct ResampleContext ;
15
15
16
16
namespace avtranscoder
17
17
{
Original file line number Diff line number Diff line change 5
5
6
6
#include < AvTranscoder/data/decoded/VideoFrame.hpp>
7
7
8
- class SwsContext ;
8
+ struct SwsContext ;
9
9
10
10
namespace avtranscoder
11
11
{
You can’t perform that action at this time.
0 commit comments