[vlc-devel] [PATCH] g711: keep current block, since there could be samples left
Francois Cartegnie
fcvlcdev at free.fr
Wed Apr 13 20:43:06 CEST 2016
Le 13/04/2016 19:56, Hannes Domani a écrit :
> fixes #16815
No samples left, p_buffer->i_buffer == 0
> ---
> 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;
> }
>
>
Francois
More information about the vlc-devel
mailing list