diff options
author | wm4 <wm4@nowhere> | 2014-08-16 17:07:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-16 17:10:08 +0200 |
commit | e6e3bc7cd97e7dc27d91bbf89902191b4408cb40 (patch) | |
tree | f5239dc4f37e0666045dbb3d7cd535d9f987a442 /demux/demux.c | |
parent | 14c1d864d9320f5fb2ec7bcecc738b506c73aa69 (diff) | |
download | mpv-e6e3bc7cd97e7dc27d91bbf89902191b4408cb40.tar.bz2 mpv-e6e3bc7cd97e7dc27d91bbf89902191b4408cb40.tar.xz |
demux: remove unused function
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/demux/demux.c b/demux/demux.c index 56a147e3bd..5918da51a9 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -558,18 +558,6 @@ bool demux_has_packet(struct sh_stream *sh) return has_packet; } -// Return whether EOF was returned with an earlier packet read. -bool demux_stream_eof(struct sh_stream *sh) -{ - bool eof = false; - if (sh) { - pthread_mutex_lock(&sh->ds->in->lock); - eof = sh->ds->eof && !sh->ds->head; - pthread_mutex_unlock(&sh->ds->in->lock); - } - return eof; -} - // Read and return any packet we find. struct demux_packet *demux_read_any_packet(struct demuxer *demuxer) { |