swr: move buffer used to discard sample to context
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 14:21:33 +0000 (15:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jan 2013 14:28:00 +0000 (15:28 +0100)
commitdc6588421e09d755655e5def870b2ebed515bc9d
tree70a5cacac7dba56203815a6b1be48672d8946ed4
parent98247e3368fb34eefa8fd4b3ec87e8a564d940bd
swr: move buffer used to discard sample to context

This avoids the need to allocate & free to repeatly

Fixes Ticket2122

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample.c
libswresample/swresample_internal.h