Add explanatory comments to the #endif part of multiple inclusion guards.
[mplayer/greg.git] / stream / stream_mf.c
blob91d9f9aa8f8f9eef58024237031cb48ac9ed94b0
1 /*
2 * Copyright (C) 2006 Benjamin Zores
3 * Stream layer for multiple files input, based on previous work from Albeu
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 #include "config.h"
22 #include <stdlib.h>
23 #include <string.h>
25 #include "stream.h"
26 #include "libmpdemux/demuxer.h"
28 static int
29 mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
31 stream->type = STREAMTYPE_MF;
32 *file_format = DEMUXER_TYPE_MF;
34 return STREAM_OK;
37 const stream_info_t stream_info_mf = {
38 "Multiple files input",
39 "mf",
40 "Benjamin Zores, Albeu",
41 "",
42 mf_stream_open,
43 { "mf", NULL },
44 NULL,