Commit 9e8c9e95 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

stream: remove stream_CustomNew()

parent 2b55276e
......@@ -257,10 +257,7 @@ VLC_API block_t * stream_Block( stream_t *s, size_t );
VLC_API char * stream_ReadLine( stream_t * );
VLC_API int stream_ReadDir( stream_t *, input_item_node_t * );
/**
* Low level custom stream creation.
*/
VLC_API stream_t *stream_CustomNew(vlc_object_t *, void (*)(stream_t *));
VLC_API stream_t *stream_CommonNew(vlc_object_t *, void (*)(stream_t *));
/**
* Get the size of the stream.
......
......@@ -54,7 +54,7 @@ void ChunksSourceStream::Reset()
stream_t * ChunksSourceStream::makeStream()
{
stream_t *p_stream = stream_CustomNew( p_obj, delete_Callback );
stream_t *p_stream = stream_CommonNew( p_obj, delete_Callback );
if(p_stream)
{
p_stream->pf_control = control_Callback;
......
......@@ -58,14 +58,6 @@ typedef struct stream_priv_t
} text;
} stream_priv_t;
/**
* Allocates a custom VLC stream object
*/
stream_t *stream_CustomNew(vlc_object_t *parent, void (*destroy)(stream_t *))
{
return stream_CommonNew(parent, destroy);
}
/**
* Allocates a VLC stream object
*/
......
......@@ -29,7 +29,6 @@
#include <vlc_stream.h>
/* */
stream_t *stream_CommonNew( vlc_object_t *, void (*destroy)(stream_t *) );
void stream_CommonDelete( stream_t *s );
/**
......
......@@ -402,8 +402,8 @@ spu_Render
spu_RegisterChannel
spu_ClearChannel
stream_Block
stream_CommonNew
stream_Control
stream_CustomNew
stream_Delete
stream_Eof
stream_FilterNew
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment