summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorNathan Caldwell <saintdev@gmail.com>2011-03-08 01:22:14 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-08 17:45:08 -0500
commit31ff9bd7b8cd8236f70e2bf5368a480fa49f7d27 (patch)
treef7c65bc5c7931f59b405539f29f8854b884ebda1 /libavcodec/aacenc.h
parent66e5b1df360a28b083bc9ec5a76e7add5f40ce1f (diff)
aacenc: Fix a segfault in search_for_quantizers
This reverts the removal of scoefs from AACEncContext. It resulted in scoefs being a NULL pointer when search_for_quantizers() is called. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 3559234ff1..1c8467990c 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -63,8 +63,8 @@ typedef struct AACEncContext {
int cur_channel;
int last_frame;
float lambda;
- float *scoefs; ///< scaled coefficients
DECLARE_ALIGNED(16, int, qcoefs)[96]; ///< quantized coefficients
+ DECLARE_ALIGNED(16, float, scoefs)[1024]; ///< scaled coefficients
} AACEncContext;
#endif /* AVCODEC_AACENC_H */