1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/stream/stream_null.c
reimar cd3d3369e1 Mark all stream_info_t as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25239 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 13:22:53 +00:00

26 lines
372 B
C

#include "config.h"
#include <stdlib.h>
#include <string.h>
#include "stream.h"
static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
stream->type = STREAMTYPE_DUMMY;
return 1;
}
const stream_info_t stream_info_null = {
"Null stream",
"null",
"Albeu",
"",
open_s,
{ "null", NULL },
NULL,
0 // Urls are an option string
};