Commit a4ad1192 authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Jean-Baptiste Kempf

Fixed a crash caused by yadif deinterlacer on Windows XP

I did incorrect modification moving [16] out of DECLARE_ALIGNED(),
and it caused a crash.

Fixes #5793.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 28958fd5
...@@ -110,10 +110,10 @@ VLC_TARGET static void RENAME(yadif_filter_line)(uint8_t *dst, ...@@ -110,10 +110,10 @@ VLC_TARGET static void RENAME(yadif_filter_line)(uint8_t *dst,
uint8_t *prev, uint8_t *cur, uint8_t *next, uint8_t *prev, uint8_t *cur, uint8_t *next,
int w, int prefs, int mrefs, int parity, int mode) int w, int prefs, int mrefs, int parity, int mode)
{ {
DECLARE_ALIGNED(16, uint8_t, tmp0)[16]; DECLARE_ALIGNED(16, uint8_t, tmp0[16]);
DECLARE_ALIGNED(16, uint8_t, tmp1)[16]; DECLARE_ALIGNED(16, uint8_t, tmp1[16]);
DECLARE_ALIGNED(16, uint8_t, tmp2)[16]; DECLARE_ALIGNED(16, uint8_t, tmp2[16]);
DECLARE_ALIGNED(16, uint8_t, tmp3)[16]; DECLARE_ALIGNED(16, uint8_t, tmp3[16]);
int x; int x;
#define FILTER\ #define FILTER\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment