Skip to content

Commit d011d69

Browse files
author
Clement Champetier
committed
Description: put functions on avtranscoder namespace
* Update avinfo app to call functions defined in Description.hpp.
1 parent d3a8c58 commit d011d69

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app/avInfo/avInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
int main( int argc, char** argv )
77
{
88
// std::cout << "avinfo" << std::endl;
9-
std::vector<std::string> inputExtension = getInputExtensions();
10-
std::vector<std::string> outputExtension = getOutputExtensions();
9+
std::vector<std::string> inputExtension = avtranscoder::getInputExtensions();
10+
std::vector<std::string> outputExtension = avtranscoder::getOutputExtensions();
1111
return 0;
1212
}

src/AvTranscoder/Description.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ extern "C" {
1212
#include <vector>
1313
#include <cstring>
1414

15+
namespace avtranscoder
16+
{
17+
1518
std::vector<size_t> getVersion()
1619
{
1720
std::vector<size_t> version;
@@ -52,7 +55,6 @@ std::vector<std::string> getOutputExtensions()
5255
return extensions;
5356
}
5457

55-
58+
}
5659

5760
#endif
58-

0 commit comments

Comments
 (0)