diff options
author | wm4 <wm4@nowhere> | 2012-07-30 18:40:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-30 22:14:32 +0200 |
commit | 1fde09db6f4cee7347842261234082470dd3a2ca (patch) | |
tree | c05bf64b1b397a62e6f0b9cf295a6f9d0266eed2 /libmpdemux/demux_ogg.h | |
parent | 17b69493b70413326c95c3c552009626809b45ec (diff) | |
download | mpv-1fde09db6f4cee7347842261234082470dd3a2ca.tar.bz2 mpv-1fde09db6f4cee7347842261234082470dd3a2ca.tar.xz |
Remove some demuxers and decoders
Most of these demuxers and decoders are provided in better form by
libav, while the mplayer builtin ones are essentially unmaintained. The
only legimitate use case for not using the libav ones was working around
libav bugs or bugs related to the way mplayer uses libav. Instead of
trying to keep dead code alive, development effort should go into
improving libav or the mplayer libav glue code.
Note that the libav demuxer have been preferred over the mplayer builtin
ones for a while in mplayer2. There were some exceptions: playing DVDs
with dvdnav or playing network sources. (That's because some stream
modules and network.c requested explicit file formats, such as
DEMUXER_TYPE_MPEG_PS, which mapped to builtin demuxers.) With this
commit, they are switched to use libav. One caveat is that the requested
format is not passed to libavformat, instead we rely on the auto probing
to select the correct libav demuxer (see code in demux_open_stream()).
Diffstat (limited to 'libmpdemux/demux_ogg.h')
-rw-r--r-- | libmpdemux/demux_ogg.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libmpdemux/demux_ogg.h b/libmpdemux/demux_ogg.h deleted file mode 100644 index 0bdc30b910..0000000000 --- a/libmpdemux/demux_ogg.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of MPlayer. - * - * MPlayer is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * MPlayer is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with MPlayer; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef MPLAYER_DEMUX_OGG_H -#define MPLAYER_DEMUX_OGG_H - -#include "demuxer.h" - -int demux_ogg_open(demuxer_t *demuxer); -demuxer_t *init_avi_with_ogg(demuxer_t *demuxer); - -#endif /* MPLAYER_DEMUX_OGG_H */ |