[vlc-devel] [PATCH 09/10] Stream: Export stream_FilterNew
Rémi Denis-Courmont
remi at remlab.net
Fri Nov 13 13:39:14 CET 2009
On Thu, 12 Nov 2009 00:08:09 +0100, Jean-Philippe André
<jpeg at videolan.org> wrote:
> diff --git a/src/input/stream_filter.c b/src/input/stream_filter.c
> index 213643f..8fec6f3 100644
> --- a/src/input/stream_filter.c
> +++ b/src/input/stream_filter.c
> @@ -38,6 +38,9 @@ stream_t *stream_FilterNew( stream_t *p_source,
> {
> stream_t *s;
>
> + if( p_source == NULL )
> + return NULL;
This should probably be an assertion.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list