]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/windrive.c
pulse: fix start time, do not confuse first and last PTS in buffer
[vlc] / modules / services_discovery / windrive.c
index d17a76bb1b659e11ec3d129cf4919f7025d48e63..a050338720b0fb41aac723f078f299b63975b557 100644 (file)
@@ -5,20 +5,20 @@
 /*****************************************************************************
  * Copyright © 2010 Rémi Denis-Courmont
  *
- * 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>
@@ -74,7 +74,7 @@ static int Open (vlc_object_t *obj)
             continue;
 
         mrl[8] = name[0] = letter;
-        item = input_item_NewWithType (VLC_OBJECT (sd), mrl, name,
+        item = input_item_NewWithType (mrl, name,
                                        0, NULL, 0, -1, ITEM_TYPE_DISC);
         msg_Dbg (sd, "adding %s (%s)", mrl, name);
         if (item == NULL)