swr: fix 10l typo mixing in and out config.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Aug 2012 19:13:50 +0000 (21:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Aug 2012 19:18:03 +0000 (21:18 +0200)
Fixes ticket1458

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/swresample.c

index 89fe0f7..85cf3f6 100644 (file)
@@ -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)