[MPlayer-cvslog] CVS: main/libmpdemux http.c,1.25,1.26

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Jul 20 19:14:48 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv25758

Modified Files:
	http.c 
Log Message:
Forgotten doxygen comments


Index: http.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/http.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- http.c	20 Jul 2005 17:12:33 -0000	1.25
+++ http.c	20 Jul 2005 17:14:45 -0000	1.26
@@ -65,6 +65,12 @@
   return pos;
 }
 
+/**
+ * \brief read and process (i.e. discard *g*) a block of ultravox metadata
+ * \param fd file descriptor to read from
+ * \param sc streaming_ctrl_t whose buffer is consumed before reading from fd
+ * \return number of real data before next metadata block starts or 0 on error
+ */
 static unsigned uvox_meta_read(int fd, streaming_ctrl_t *sc) {
   unsigned metaint;
   unsigned char info[6];
@@ -93,6 +99,8 @@
 
 /**
  * \brief read one scast meta data entry and print it
+ * \param fd file descriptor to read from
+ * \param sc streaming_ctrl_t whose buffer is consumed before reading from fd
  */
 static void scast_meta_read(int fd, streaming_ctrl_t *sc) {
   unsigned char tmp = 0;
@@ -108,6 +116,13 @@
   }
 }
 
+/**
+ * \brief read data from scast/ultravox stream without any metadata
+ * \param fd file descriptor to read from
+ * \param buffer buffer to read data into
+ * \param size number of bytes to read
+ * \param sc streaming_ctrl_t whose buffer is consumed before reading from fd
+ */
 static int scast_streaming_read(int fd, char *buffer, int size,
                                 streaming_ctrl_t *sc) {
   scast_data_t *sd = (scast_data_t *)sc->data;




More information about the MPlayer-cvslog mailing list