1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00
mpv/stream/stream_edl.c
wm4 99f5fef0ea Add more const
While I'm not very fond of "const", it's important for declarations
(it decides whether a symbol is emitted in a read-only or read/write
section). Fix all these cases, so we have writeable global data only
when we really need.
2014-06-11 00:39:14 +02:00

19 lines
411 B
C

// Dummy stream implementation to enable demux_edl, which is in turn a
// dummy demuxer implementation to enable tl_edl.
#include "stream.h"
static int s_open (struct stream *stream)
{
stream->type = STREAMTYPE_EDL;
stream->demuxer = "edl";
return STREAM_OK;
}
const stream_info_t stream_info_edl = {
.name = "edl",
.open = s_open,
.protocols = (const char*const[]){"edl", NULL},
};