From 8d7f2db60a9cc2b6fd87a410a69f4deafa3edff9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 25 Mar 2012 21:50:49 +0200 Subject: [PATCH] swr-test: test the new flexible buffering Signed-off-by: Michael Niedermayer --- libswresample/swresample_test.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/libswresample/swresample_test.c b/libswresample/swresample_test.c index 1feead7bdd..b1e195fd04 100644 --- a/libswresample/swresample_test.c +++ b/libswresample/swresample_test.c @@ -122,6 +122,7 @@ int main(int argc, char **argv){ uint8_t *aout[SWR_CH_MAX]; uint8_t *amid[SWR_CH_MAX]; int flush_i=0; + int mode = 0; struct SwrContext * forw_ctx= NULL; struct SwrContext *backw_ctx= NULL; @@ -165,7 +166,29 @@ int main(int argc, char **argv){ for(i=0; i