[MPlayer-cvslog] r19154 - in trunk/libmpdemux: mpeg_packetizer.c mpeg_packetizer.h

nicodvb subversion at mplayerhq.hu
Sat Jul 22 11:59:45 CEST 2006


Author: nicodvb
Date: Sat Jul 22 11:59:44 2006
New Revision: 19154

Modified:
   trunk/libmpdemux/mpeg_packetizer.c
   trunk/libmpdemux/mpeg_packetizer.h

Log:
cosmetics: comments and reindentation asked by gxben

Modified: trunk/libmpdemux/mpeg_packetizer.c
==============================================================================
--- trunk/libmpdemux/mpeg_packetizer.c	(original)
+++ trunk/libmpdemux/mpeg_packetizer.c	Sat Jul 22 11:59:44 2006
@@ -44,10 +44,10 @@
   0xb9, 0x37, 0x83, 0x80, 0xc3, 0x51,
 };
 
-/* Send MPEG 2 PES packet */
+/* Send MPEG <type> PES packet */
 int
-send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts, int type,
-                       int my_write (unsigned char *data, int len))
+send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts,
+                      int type, int my_write (unsigned char *data, int len))
 {
   int ptslen = 5;
   int n = 0;
@@ -126,7 +126,7 @@
   return n;
 }
 
-/* Send MPEG 2 PS packet */
+/* Send MPEG <type> PS packet */
 int
 send_mpeg_ps_packet (unsigned char *data, int len, int id, uint64_t pts, int type,
                       int my_write (unsigned char *data, int len))
@@ -138,7 +138,7 @@
   return send_mpeg_pes_packet (data, len, id, pts, type, my_write);
 }
 
-/* Send MPEG LPCM packet */
+/* Send MPEG 2 LPCM packet */
 int
 send_mpeg_lpcm_packet (unsigned char* data, int len,
                        int id, uint64_t pts, int freq_id,

Modified: trunk/libmpdemux/mpeg_packetizer.h
==============================================================================
--- trunk/libmpdemux/mpeg_packetizer.h	(original)
+++ trunk/libmpdemux/mpeg_packetizer.h	Sat Jul 22 11:59:44 2006
@@ -25,15 +25,15 @@
 #ifndef _MPEG_PACKETIZER_H_
 #define _MPEG_PACKETIZER_H_
 
-/* Send MPEG 1/2 PES packet */
-int send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts, int type,
-                           int my_write (unsigned char *data, int len));
+/* Send MPEG <type> PES packet */
+int send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts, 
+                          int type, int my_write (unsigned char *data, int len));
 
-/* Send MPEG 1/2 PS packet */
-int send_mpeg_ps_packet (unsigned char *data, int len, int id, uint64_t pts, int type,
-                          int my_write (unsigned char *data, int len));
+/* Send MPEG <type> PS packet */
+int send_mpeg_ps_packet (unsigned char *data, int len, int id, uint64_t pts, 
+                         int type,int my_write (unsigned char *data, int len));
 
-/* Send MPEG LPCM packet */
+/* Send MPEG 2 LPCM packet */
 int send_mpeg_lpcm_packet (unsigned char *data, int len,
                            int id, uint64_t pts, int freq_id,
                            int my_write (unsigned char *data, int len));



More information about the MPlayer-cvslog mailing list