Add namespace for encoder and decoder

This commit is contained in:
badaix 2019-11-04 14:53:02 +01:00
parent c1a2fedd8d
commit 07e8290ee4
25 changed files with 124 additions and 38 deletions

View file

@ -28,6 +28,8 @@
using namespace std;
namespace encoder
{
OggEncoder::OggEncoder(const std::string& codecOptions) : Encoder(codecOptions), lastGranulepos_(0)
{
@ -257,3 +259,5 @@ void OggEncoder::initEncoder()
pos += og_.body_len;
}
}
} // namespace encoder