* Copyright © 2010 Rémi Denis-Courmont
* Copyright © 2010 Alan Fischer <alan@lightningtoads.com>
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1
- * of the License, or (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
+ * (at your option) any later version.
*
- * This library is distributed in the hope that it will be useful,
+ * This program 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.
+ * GNU Lesser General Public License for more details.
*
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- ****************************************************************************/
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#ifdef HAVE_CONFIG_H
# include <config.h>
result = tune->read (data, size);
free (data);
- if (result==false)
+ if (!result)
goto error;
player = new sidplay2();
sys->tune->selectSong (0);
result = (sys->player->load (sys->tune) >=0 );
sys->player->fastForward (100);
- if (result==false)
+ if (!result)
goto error;
/* Callbacks */
if (unlikely(block==NULL))
return 0;
- if (sys->tune->getStatus() == false) {
+ if (!sys->tune->getStatus()) {
block_Release (block);
return 0;
}
int i_idx = (int) va_arg (args, int);
sys->tune->selectSong (i_idx+1);
bool result = (sys->player->load (sys->tune) >=0 );
- if (result == false)
+ if (!result)
return VLC_EGENERIC;
demux->info.i_title = i_idx;