aresample: add code to flush the internal swr buffer.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 17 May 2012 20:39:02 +0000 (22:39 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 17 May 2012 20:45:05 +0000 (22:45 +0200)
commit847943bc51098dbd68301099ed132cdde0f9eabf
tree690fe6fb9e6ac6f47639f957f95a46265ac1d02e
parentb3e1b95afaff7ed53baef2d193e0968cade7e94b
aresample: add code to flush the internal swr buffer.

Inspired-by code from af_resample.c written by Anton Khirnov

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/af_aresample.c
tests/ref/acodec/g723_1
tests/ref/acodec/roqaudio