[vlc-devel] [PATCH] stream: add stream_ForcedPeekNew

Rémi Denis-Courmont remi at remlab.net
Thu Sep 10 17:44:49 CEST 2015


Le 2015-09-10 18:18, Francois Cartegnie a écrit :
> diff --git a/src/input/stream_memory.c b/src/input/stream_memory.c
> index 3fc23a9..7a97893 100644
> --- a/src/input/stream_memory.c
> +++ b/src/input/stream_memory.c
> @@ -33,7 +33,7 @@ struct stream_sys_t
>      size_t    i_pos;      /* Current reading offset */
>      size_t    i_size;
>      uint8_t  *p_buffer;
> -
> +    stream_t *p_backend_stream; /* Only used by forced peek */
>  };

This ugly hack does not belong here.
>
>  static ssize_t Read( stream_t *, void *p_read, size_t i_read );

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list