summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 00:50:59 +0200
committerwm4 <wm4@nowhere>2013-07-08 00:50:59 +0200
commit8a46d4c49f0f06cae4ccd027816b5fff915a9c44 (patch)
tree06395c620cd928db7db3982390445973e27fd85b /demux
parent90813f340250a3848f66f13a644e74a92ca5d907 (diff)
downloadmpv-8a46d4c49f0f06cae4ccd027816b5fff915a9c44.tar.bz2
mpv-8a46d4c49f0f06cae4ccd027816b5fff915a9c44.tar.xz
demux: remove unused function
Diffstat (limited to 'demux')
-rw-r--r--demux/demux.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/demux/demux.h b/demux/demux.h
index a478e58409..3d632a92c6 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -275,11 +275,6 @@ void ds_read_packet(struct demux_stream *ds, struct stream *stream, int len,
int demux_fill_buffer(struct demuxer *demux, struct demux_stream *ds);
int ds_fill_buffer(struct demux_stream *ds);
-static inline int64_t ds_tell(struct demux_stream *ds)
-{
- return (ds->dpos - ds->buffer_size) + ds->buffer_pos;
-}
-
static inline int ds_tell_pts(struct demux_stream *ds)
{
return (ds->pts_bytes - ds->buffer_size) + ds->buffer_pos;