aacenc: quit when the audio queue reaches 0 rather than keeping track of empty frames
authorRostislav Pehlivanov <atomnuker@gmail.com>
Mon, 7 Nov 2016 02:11:50 +0000 (02:11 +0000)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Tue, 8 Nov 2016 00:50:51 +0000 (00:50 +0000)
commit0cf6853804675c99573889670b3447af4de1a3f3
treeb1274ccd7992779f035c7ebd74be3dcb8b4954f9
parentef6a786401f8ad44a6274e4f17c4ae078c5e02b1
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>
libavcodec/aacenc.c
libavcodec/aacenc.h