changeset 19149:73d8ea32ebb8

cosmetics: comments and reindentation asked by gxben
author nicodvb
date Sat, 22 Jul 2006 09:59:44 +0000
parents 3b839a8d297a
children 8f2b737e2a70
files libmpdemux/mpeg_packetizer.c libmpdemux/mpeg_packetizer.h
diffstat 2 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/mpeg_packetizer.c	Sat Jul 22 09:45:34 2006 +0000
+++ b/libmpdemux/mpeg_packetizer.c	Sat Jul 22 09:59:44 2006 +0000
@@ -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,
--- a/libmpdemux/mpeg_packetizer.h	Sat Jul 22 09:45:34 2006 +0000
+++ b/libmpdemux/mpeg_packetizer.h	Sat Jul 22 09:59:44 2006 +0000
@@ -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));