diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-11-07 02:11:50 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2016-11-08 00:50:51 +0000 |
commit | 0cf6853804675c99573889670b3447af4de1a3f3 (patch) | |
tree | b1274ccd7992779f035c7ebd74be3dcb8b4954f9 /libavcodec/aacenc.h | |
parent | ef6a786401f8ad44a6274e4f17c4ae078c5e02b1 (diff) | |
download | ffmpeg-0cf6853804675c99573889670b3447af4de1a3f3.tar.gz |
aacenc: quit when the audio queue reaches 0 rather than keeping track of empty frames
The libopus encoder does the same thing and its better than
keeping track of when the empty flush frames appear.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r-- | libavcodec/aacenc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h index 38a9734994..9d244fd1f5 100644 --- a/libavcodec/aacenc.h +++ b/libavcodec/aacenc.h @@ -112,7 +112,6 @@ typedef struct AACEncContext { struct FFPsyPreprocessContext* psypp; AACCoefficientsEncoder *coder; int cur_channel; ///< current channel for coder context - int last_frame; int random_state; float lambda; int last_frame_pb_count; ///< number of bits for the previous frame |