2003-04-10 10:59:12 +00:00
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-12-02 13:22:53 +00:00
|
|
|
const stream_info_t stream_info_null = {
|
2003-04-10 10:59:12 +00:00
|
|
|
"Null stream",
|
|
|
|
"null",
|
|
|
|
"Albeu",
|
|
|
|
"",
|
|
|
|
open_s,
|
2006-08-03 19:43:02 +00:00
|
|
|
{ "null", NULL },
|
2003-04-10 10:59:12 +00:00
|
|
|
NULL,
|
|
|
|
0 // Urls are an option string
|
|
|
|
};
|