[vlc-commits] codec: flac: flush on flush

Francois Cartegnie git at videolan.org
Fri Apr 7 15:45:54 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr  7 15:03:02 2017 +0200| [47b70670763b0344348cd1204e0f2e74031ca372] | committer: Francois Cartegnie

codec: flac: flush on flush

obvious

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47b70670763b0344348cd1204e0f2e74031ca372
---

 modules/codec/flac.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 661e5d6..9d2d19b 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -603,6 +603,7 @@ static void Flush( decoder_t *p_dec )
 {
     decoder_sys_t *p_sys = p_dec->p_sys;
 
+    FLAC__stream_decoder_flush( p_dec->p_sys->p_flac );
     date_Set( &p_sys->end_date, 0 );
 }
 



More information about the vlc-commits mailing list