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