]> git.sesse.net Git - vlc/blobdiff - plugins/access/file.c
* fixed a bug in input_SetProgram, that made the ps file input
[vlc] / plugins / access / file.c
index 7f8b2fd4920abbdbcd0b5992d543ad811b337c5e..8b0fabcb264109671a9c43c516c7031872e01aa9 100644 (file)
@@ -2,7 +2,7 @@
  * file.c: file input (file: access plug-in)
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: file.c,v 1.2 2002/03/15 04:41:54 sam Exp $
+ * $Id: file.c,v 1.4 2002/04/10 16:26:21 jobi Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -49,7 +49,6 @@
  *****************************************************************************/
 static void input_getfunctions( function_list_t * );
 static int  FileOpen       ( struct input_thread_s * );
-static int  FileSetProgram ( struct input_thread_s * , pgrm_descriptor_t * );  
 
 /*****************************************************************************
  * Build configuration tree.
@@ -81,7 +80,7 @@ static void input_getfunctions( function_list_t * p_function_list )
     input.pf_open             = FileOpen;
     input.pf_read             = input_FDRead;
     input.pf_close            = input_FDClose;
-    input.pf_set_program      = FileSetProgram;
+    input.pf_set_program      = input_SetProgram;
     input.pf_set_area         = NULL;
     input.pf_seek             = input_FDSeek;
 #undef input
@@ -181,13 +180,3 @@ static int FileOpen( input_thread_t * p_input )
 
     return( 0 );
 }
-
-/*****************************************************************************
- * FileSetProgram: Do nothing
- *****************************************************************************/
-static int FileSetProgram( input_thread_t * p_input,
-                           pgrm_descriptor_t * p_program )
-{
-    return( 0 );
-}
-