From 72261fa8675ca6e118efe202fcb13fd0866d4a54 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 26 May 2012 02:33:38 +0200 Subject: swr: fix swr_drop_output() Fixes part of Ticket1341 Signed-off-by: Michael Niedermayer --- libswresample/swresample.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libswresample') diff --git a/libswresample/swresample.c b/libswresample/swresample.c index a0560a19da..27f3581d5f 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -629,6 +629,7 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun av_freep(&tmp.data); if(s->drop_output || !out_arg) return 0; + in_count = 0; } if(!in_arg){ -- cgit v1.2.3