diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-12-25 16:54:56 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-12-25 16:54:56 +0000 |
commit | fae8a7ffbc1d7f59fc82c133d3e54ec3ae5c5580 (patch) | |
tree | d735d424d2ffeaabf7df8bf64a8b0e1e29aa7502 /src | |
parent | a67eeedaa2be043f9905999d7d3c8014c7773a7d (diff) | |
download | xine-lib-fae8a7ffbc1d7f59fc82c133d3e54ec3ae5c5580.tar.gz xine-lib-fae8a7ffbc1d7f59fc82c133d3e54ec3ae5c5580.tar.bz2 |
* Fix Shorten demuxer: the whole ajkg signature has to be found, not only
one character of it. [bug #1601134]
CVS patchset: 8444
CVS date: 2006/12/25 16:54:56
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_shn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_shn.c b/src/demuxers/demux_shn.c index 8e3602634..e7b7f36be 100644 --- a/src/demuxers/demux_shn.c +++ b/src/demuxers/demux_shn.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_shn.c,v 1.2 2006/09/28 22:27:52 dgp85 Exp $ + * $Id: demux_shn.c,v 1.3 2006/12/25 16:54:56 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -67,8 +67,8 @@ static int open_shn_file(demux_shn_t *this) { if (_x_demux_read_header(this->input, peak, 4) != 4) return 0; - if ((peak[0] != 'a') && (peak[1] != 'j') && - (peak[2] != 'k') && (peak[3] != 'g')) { + if ((peak[0] != 'a') || (peak[1] != 'j') || + (peak[2] != 'k') || (peak[3] != 'g')) { return 0; } |