diff options
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 2 | ||||
-rw-r--r-- | demux/demux.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c index e5d7ad27d9..2fbafa9a15 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -1930,7 +1930,7 @@ static struct demux_packet *dequeue_packet(struct demux_stream *ds) // Read a packet from the given stream. The returned packet belongs to the // caller, who has to free it with talloc_free(). Might block. Returns NULL // on EOF. -struct demux_packet *demux_read_packet(struct sh_stream *sh) +static struct demux_packet *demux_read_packet(struct sh_stream *sh) { struct demux_stream *ds = sh ? sh->ds : NULL; if (!ds) diff --git a/demux/demux.h b/demux/demux.h index b7f75ce813..526c03713e 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -238,7 +238,6 @@ bool demux_free_async_finish(struct demux_free_async_state *state); void demuxer_feed_caption(struct sh_stream *stream, demux_packet_t *dp); -struct demux_packet *demux_read_packet(struct sh_stream *sh); int demux_read_packet_async(struct sh_stream *sh, struct demux_packet **out_pkt); bool demux_stream_is_selected(struct sh_stream *stream); void demux_set_stream_wakeup_cb(struct sh_stream *sh, |