[MPlayer-cvslog] r32504 - in trunk/libaf: af.c af.h

reimar subversion at mplayerhq.hu
Sun Oct 17 17:52:19 CEST 2010


Author: reimar
Date: Sun Oct 17 17:52:18 2010
New Revision: 32504

Log:
Make af_reinit "public", to allow using it in future patches.

Modified:
   trunk/libaf/af.c
   trunk/libaf/af.h

Modified: trunk/libaf/af.c
==============================================================================
--- trunk/libaf/af.c	Sun Oct 17 17:30:14 2010	(r32503)
+++ trunk/libaf/af.c	Sun Oct 17 17:52:18 2010	(r32504)
@@ -251,10 +251,7 @@ void af_remove(af_stream_t* s, af_instan
   free(af);
 }
 
-/* Reinitializes all filters downstream from the filter given in the
-   argument the return value is AF_OK if success and AF_ERROR if
-   failure */
-static int af_reinit(af_stream_t* s, af_instance_t* af)
+int af_reinit(af_stream_t* s, af_instance_t* af)
 {
   do{
     af_data_t in; // Format of the input to current filter

Modified: trunk/libaf/af.h
==============================================================================
--- trunk/libaf/af.h	Sun Oct 17 17:30:14 2010	(r32503)
+++ trunk/libaf/af.h	Sun Oct 17 17:52:18 2010	(r32504)
@@ -163,6 +163,13 @@ int af_init(af_stream_t* s);
 void af_uninit(af_stream_t* s);
 
 /**
+ * \brief  Reinit the filter list from the given filter on downwards
+ * \param  Filter instance to begin the reinit from
+ * \return AF_OK on success or AF_ERROR on failure
+ */
+int af_reinit(af_stream_t* s, af_instance_t* af);
+
+/**
  * \brief This function adds the filter "name" to the stream s.
  * \param name name of filter to add
  * \return pointer to the new filter, NULL if insert failed


More information about the MPlayer-cvslog mailing list