From 6977dbc2f08c0f42f0f5b915f57a265b333a7531 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 14 Feb 2003 18:50:04 +0000 Subject: ok, it doesn't make sense to play mp3 with -A null... but at least we may get metainfo. CVS patchset: 4160 CVS date: 2003/02/14 18:50:04 --- src/demuxers/demux_mpgaudio.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c index e8dc93c72..068ebcc95 100644 --- a/src/demuxers/demux_mpgaudio.c +++ b/src/demuxers/demux_mpgaudio.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_mpgaudio.c,v 1.91 2003/01/31 14:06:09 miguelfreitas Exp $ + * $Id: demux_mpgaudio.c,v 1.92 2003/02/14 18:50:04 miguelfreitas Exp $ * * demultiplexer for mpeg audio (i.e. mp3) streams * @@ -420,6 +420,7 @@ static void demux_mpgaudio_send_headers (demux_plugin_t *this_gen) { break; } } + this->status = DEMUX_OK; } static int demux_mpgaudio_seek (demux_plugin_t *this_gen, @@ -481,11 +482,6 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str unsigned char riff_check[RIFF_CHECK_BYTES]; int i; - if (!stream->audio_fifo) { - xine_log (stream->xine, XINE_LOG_MSG, _("demux_mpgaudio: no audio driver!\n") ); - return NULL; - } - #ifdef LOG printf ("demux_mpgaudio: trying to open %s...\n", input->get_mrl(input)); #endif -- cgit v1.2.3