Skip to content

Commit bc3cf85

Browse files
author
Clement Champetier
committed
common: define MAX_SWS_PLANE only in VideoTransform
1 parent 31d275e commit bc3cf85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AvTranscoder/common.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ extern "C" {
4848
namespace avtranscoder
4949
{
5050

51-
#define MAX_SWS_PLANE 4
52-
5351
typedef AVRational Rational;
5452

5553
/// Register all the codecs and formats which are enabled at configuration time.

src/AvTranscoder/transform/VideoTransform.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ extern "C" {
1212
#endif
1313
}
1414

15+
#define MAX_SWS_PLANE 4
16+
1517
#include <sstream>
1618
#include <iomanip>
1719
#include <cassert>

0 commit comments

Comments
 (0)