view stream/stream_null.c @ 23421:e013cf91368f

r23370: added missing fps r23410: add documentation for new -menu-chroot option r23420: added a missing space char r23423: added '&' for 'e.g.' r23424: removed an unneeded comma r23425: removed unneeded space fix typo
author voroshil
date Thu, 31 May 2007 17:30:49 +0000
parents ab8d6b6deb63
children c1d17bd6683c
line wrap: on
line source


#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;
}


stream_info_t stream_info_null = {
  "Null stream",
  "null",
  "Albeu",
  "",
  open_s,
  { "null", NULL },
  NULL,
  0 // Urls are an option string
};