From: Michael Niedermayer Date: Sun, 25 Mar 2012 19:50:49 +0000 (+0200) Subject: swr-test: test the new flexible buffering X-Git-Tag: android-x86-4.4-r1~12768 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8d7f2db60a9cc2b6fd87a410a69f4deafa3edff9;p=android-x86%2Fexternal-ffmpeg.git swr-test: test the new flexible buffering Signed-off-by: Michael Niedermayer --- 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