[FFmpeg-cvslog] swr: fix 10l typo mixing in and out config.

Michael Niedermayer git at videolan.org
Wed Aug 1 21:21:23 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug  1 21:13:50 2012 +0200| [b9df3f4f6ce06257f439174c37936599008d426a] | committer: Michael Niedermayer

swr: fix 10l typo mixing in and out config.

Fixes ticket1458

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9df3f4f6ce06257f439174c37936599008d426a
---

 libswresample/swresample.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)



More information about the ffmpeg-cvslog mailing list