summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-08-21 12:29:11 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-08-22 16:41:50 -0400
commit4b0e0f31bf0f618a634dcfdca45e72cdfb0b48b5 (patch)
tree83d821f9861b96d2f8379c43f91d53e15fa45b51 /libavcodec/lpc.h
parentf24cc1b2f1b5d9a1fd91340cc9f7b97dda9dc3b1 (diff)
lpc: fix alignment of windowed samples for odd maximum LPC order
Fixes crash on x86 due to alignment requirements for w_data in lpc_apply_welch_window_sse2().
Diffstat (limited to 'libavcodec/lpc.h')
-rw-r--r--libavcodec/lpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h
index 1775374a40..cbee46f5db 100644
--- a/libavcodec/lpc.h
+++ b/libavcodec/lpc.h
@@ -51,6 +51,7 @@ typedef struct LPCContext {
int blocksize;
int max_order;
enum FFLPCType lpc_type;
+ double *windowed_buffer;
double *windowed_samples;
/**