Skip to content

Commit 9bf8474

Browse files
committed
ffv1: align slice context struct
1 parent 32fce1f commit 9bf8474

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libavcodec/ffv1.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "progressframe.h"
3535
#include "put_bits.h"
3636
#include "rangecoder.h"
37+
#include "libavutil/mem_internal.h"
3738

3839
#ifdef __INTEL_COMPILER
3940
#undef av_flatten
@@ -69,7 +70,7 @@ typedef struct PlaneContext {
6970

7071
#define MAX_SLICES 1024
7172

72-
typedef struct FFV1SliceContext {
73+
DECLARE_ALIGNED(16, typedef, struct) {
7374
PlaneContext plane[MAX_PLANES];
7475

7576
PutBitContext pb;

0 commit comments

Comments
 (0)