Skip to content

Commit 7ccc610

Browse files
bsperdutocdecker08
authored andcommitted
Fix for deprecation of DECLARE_ALIGNED erikkaashoek#164
1 parent 93dbe8a commit 7ccc610

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

comskip.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -733,9 +733,9 @@ int sceneChangePercent;
733733
bool lastFrameWasBlack = false;
734734
bool lastFrameWasSceneChange = false;
735735

736-
#include <libavutil/avutil.h> // only for DECLARE_ALIGNED
737-
static DECLARE_ALIGNED(32, long, histogram)[256];
738-
static DECLARE_ALIGNED(32, long, lastHistogram)[256];
736+
737+
static long histogram[256];
738+
static long lastHistogram[256];
739739

740740
#define MAXCSLENGTH 400*300
741741
#define MAXCUTSCENES 8
@@ -10097,7 +10097,7 @@ void LoadCutScene(const char *filename)
1009710097
#define OWN_HISTOGRAM_WIDTH 4
1009810098
#define OWN_HISTOGRAM_HEIGHT 256
1009910099

10100-
static DECLARE_ALIGNED(32, int, own_histogram)[OWN_HISTOGRAM_WIDTH][OWN_HISTOGRAM_HEIGHT];
10100+
static int own_histogram[OWN_HISTOGRAM_WIDTH][OWN_HISTOGRAM_HEIGHT];
1010110101
int scan_step;
1010210102

1010310103
#define SCAN_MULTI

0 commit comments

Comments
 (0)