[vlc-commits] g711: keep current block,	since there could be samples left
    Hannes Domani 
    git at videolan.org
       
    Wed Apr 13 20:25:04 CEST 2016
    
    
  
vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Wed Apr 13 19:56:23 2016 +0200| [6328b40cbc773c6fd4886e65a0f7a3c221cee8df] | committer: Rémi Denis-Courmont
g711: keep current block, since there could be samples left
fixes #16815
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6328b40cbc773c6fd4886e65a0f7a3c221cee8df
---
 modules/codec/g711.c |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/codec/g711.c b/modules/codec/g711.c
index 0ac5fcc..e5ba99a 100644
--- a/modules/codec/g711.c
+++ b/modules/codec/g711.c
@@ -291,6 +291,8 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
     p_block->p_buffer += samples;
     p_block->i_buffer -= samples;
 
+    *pp_block = p_block;
+
     return p_out;
 }
 
    
    
More information about the vlc-commits
mailing list