aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libswresample/swresample.c1
1 files changed, 1 insertions, 0 deletions
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){