Commit 33b6c0f9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

demux: inline demux_Delete()

parent 38f1f449
......@@ -279,8 +279,10 @@ enum demux_query_e
VLC_API demux_t *demux_New( vlc_object_t *p_obj, const char *psz_name,
const char *psz_path, stream_t *s, es_out_t *out );
VLC_API void demux_Delete( demux_t * );
static inline void demux_Delete(demux_t *demux)
{
vlc_stream_Delete(demux);
}
VLC_API int demux_vaControlHelper( stream_t *, int64_t i_start, int64_t i_end,
int64_t i_bitrate, int i_align, int i_query, va_list args );
......
......@@ -272,14 +272,6 @@ error:
return NULL;
}
/*****************************************************************************
* demux_Delete:
*****************************************************************************/
void demux_Delete( demux_t *p_demux )
{
vlc_stream_Delete( p_demux );
}
#define static_control_match(foo) \
static_assert((unsigned) DEMUX_##foo == STREAM_##foo, "Mismatch")
......
......@@ -80,7 +80,6 @@ decoder_GetDisplayRate
decoder_GetInputAttachments
decoder_NewAudioBuffer
decoder_NewSubpicture
demux_Delete
demux_PacketizerDestroy
demux_PacketizerNew
demux_New
......
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