[FFmpeg-cvslog] swresample/swresample: Clear delayed_samples_fixup in clear_context()

Michael Niedermayer git at videolan.org
Mon Jun 22 18:35:32 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 22 18:23:44 2015 +0200| [0dd2790df50ee4b664757374b0768dd79ab4307d] | committer: Michael Niedermayer

swresample/swresample: Clear delayed_samples_fixup in clear_context()

This probably makes no difference but its more proper

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

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

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

diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 0fb3de6..daa1a15 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -133,6 +133,7 @@ static void clear_context(SwrContext *s){
     swri_audio_convert_free(&s->full_convert);
     swri_rematrix_free(s);
 
+    s->delayed_samples_fixup = 0;
     s->flushed = 0;
 }
 



More information about the ffmpeg-cvslog mailing list