summaryrefslogtreecommitdiffstats
path: root/demux/demux_edl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-11 12:07:04 +0200
committerwm4 <wm4@nowhere>2013-06-23 22:33:58 +0200
commitd064c69e1c958514c3ef4d7871bcd92c8ff92de9 (patch)
treef4b536e7d29cd576fc0141d10747a14af8a77bc4 /demux/demux_edl.c
parentc412f7daf6f4bc31aa727dbafc8b379bd265604c (diff)
downloadmpv-d064c69e1c958514c3ef4d7871bcd92c8ff92de9.tar.bz2
mpv-d064c69e1c958514c3ef4d7871bcd92c8ff92de9.tar.xz
demux: don't require fill_buffer callback
Diffstat (limited to 'demux/demux_edl.c')
-rw-r--r--demux/demux_edl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/demux/demux_edl.c b/demux/demux_edl.c
index 1e1db5be93..71d75e7f38 100644
--- a/demux/demux_edl.c
+++ b/demux/demux_edl.c
@@ -40,11 +40,6 @@ static int try_open_file(struct demuxer *demuxer)
return DEMUXER_TYPE_EDL;
}
-static int dummy_fill_buffer(struct demuxer *demuxer, struct demux_stream *ds)
-{
- return 0;
-}
-
const struct demuxer_desc demuxer_desc_edl = {
.info = "EDL file demuxer",
.name = "edl",
@@ -54,5 +49,4 @@ const struct demuxer_desc demuxer_desc_edl = {
.type = DEMUXER_TYPE_EDL,
.safe_check = true,
.check_file = try_open_file, // no separate .open
- .fill_buffer = dummy_fill_buffer,
};