Skip to content

Commit

Permalink
Fix for deprecation of DECLARE_ALIGNED erikkaashoek#164
Browse files Browse the repository at this point in the history
  • Loading branch information
bsperduto authored Dec 3, 2023
1 parent bf54c21 commit 82f8ec6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions comskip.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,9 +733,9 @@ int sceneChangePercent;
bool lastFrameWasBlack = false;
bool lastFrameWasSceneChange = false;

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

static long histogram[256];
static long lastHistogram[256];

#define MAXCSLENGTH 400*300
#define MAXCUTSCENES 8
Expand Down Expand Up @@ -10193,7 +10193,7 @@ void LoadCutScene(const char *filename)
#define OWN_HISTOGRAM_WIDTH 4
#define OWN_HISTOGRAM_HEIGHT 256

static DECLARE_ALIGNED(32, int, own_histogram)[OWN_HISTOGRAM_WIDTH][OWN_HISTOGRAM_HEIGHT];
static int own_histogram[OWN_HISTOGRAM_WIDTH][OWN_HISTOGRAM_HEIGHT];
int scan_step;

#define SCAN_MULTI
Expand Down

0 comments on commit 82f8ec6

Please sign in to comment.