From fab64a64c480ed6714d55919c1a667e0d03a60d8 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 26 Nov 2003 19:26:59 +0000 Subject: != is evaluated _before_ &, so this is not doing what it's supposed to (thanks to gcc for issuing a warning) CVS patchset: 5790 CVS date: 2003/11/26 19:26:59 --- src/demuxers/demux_mpgaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c index 25d00ed54..efadb6d7c 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.126 2003/11/23 23:20:57 valtri Exp $ + * $Id: demux_mpgaudio.c,v 1.127 2003/11/26 19:26:59 mroi Exp $ * * demultiplexer for mpeg audio (i.e. mp3) streams * @@ -809,7 +809,7 @@ static void demux_mpgaudio_send_headers (demux_plugin_t *this_gen) { _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1); /* read id3 info only from inputs with seeking and without "live" flag */ - if (this->input->get_capabilities(this->input) & INPUT_CAP_SEEKABLE != 0) { + if (this->input->get_capabilities(this->input) & INPUT_CAP_SEEKABLE) { off_t pos; /* check ID3 v1 at the end of the stream */ -- cgit v1.2.3