summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-09-06 15:06:34 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-09-06 15:30:25 +0100
commit92aa3e7fb21a4b0764ac8a0348a5bf84badee216 (patch)
treeb3c5248c1bcaf4b10cbd8bdbacf896478fb0dab3 /libavcodec/aacenc.h
parent34e85cb340675ac9b67b72a34cc785bbc8863660 (diff)
aacenc: copy PRNG from the decoder
Needed for the following PNS commits. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 2b7a62a146..54951f9f70 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -98,6 +98,7 @@ typedef struct AACEncContext {
AACCoefficientsEncoder *coder;
int cur_channel;
int last_frame;
+ int random_state;
float lambda;
AudioFrameQueue afq;
DECLARE_ALIGNED(16, int, qcoefs)[96]; ///< quantized coefficients