summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libswresample/swresample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 89fe0f7..85cf3f6 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -735,7 +735,7 @@ int swr_drop_output(struct SwrContext *s, int count){
int swr_inject_silence(struct SwrContext *s, int count){
int ret, i;
- AudioData silence = s->out;
+ AudioData silence = s->in;
uint8_t *tmp_arg[SWR_CH_MAX];
if(count <= 0)
OpenPOWER on IntegriCloud