[vlc-devel] [PATCH] g711: keep current block, since there could be samples left
Hannes Domani
ssbssa at yahoo.de
Wed Apr 13 19:56:23 CEST 2016
fixes #16815
---
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;
}
--
2.8.1
More information about the vlc-devel
mailing list