]> git.sesse.net Git - vlc/blobdiff - modules/demux/sid.cpp
MP4: Parse transformation matrix
[vlc] / modules / demux / sid.cpp
index 2fac3375f6498814bd74a9e7a019c1c1e43ee57c..29a9ad6503afa324e9c9151d78ffb39c44db409f 100644 (file)
@@ -6,20 +6,20 @@
  * 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>
@@ -109,7 +109,7 @@ static int Open (vlc_object_t *obj)
 
     result = tune->read (data, size);
     free (data);
-    if (result==false)
+    if (!result)
         goto error;
 
     player = new sidplay2();
@@ -163,7 +163,7 @@ static int Open (vlc_object_t *obj)
     sys->tune->selectSong (0);
     result = (sys->player->load (sys->tune) >=0 );
     sys->player->fastForward (100);
-    if (result==false)
+    if (!result)
         goto error;
 
     /* Callbacks */
@@ -202,7 +202,7 @@ static int Demux (demux_t *demux)
     if (unlikely(block==NULL))
         return 0;
 
-    if (sys->tune->getStatus() == false) {
+    if (!sys->tune->getStatus()) {
         block_Release (block);
         return 0;
     }
@@ -268,7 +268,7 @@ static int Control (demux_t *demux, int query, va_list args)
             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;