diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-22 09:59:44 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-22 09:59:44 +0000 |
commit | e8b4265feb69fc0e0527d7f0f9e291fe9cb10d3b (patch) | |
tree | b46a77e22e57af93bf00fbf995152d85d426151e | |
parent | fdcee83d90c415df6cb570af14073407071fb6bf (diff) |
cosmetics: comments and reindentation asked by gxben
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19154 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/mpeg_packetizer.c | 10 | ||||
-rw-r--r-- | libmpdemux/mpeg_packetizer.h | 14 |
2 files changed, 12 insertions, 12 deletions
diff --git a/libmpdemux/mpeg_packetizer.c b/libmpdemux/mpeg_packetizer.c index f952d3c5cd..0bf984565e 100644 --- a/libmpdemux/mpeg_packetizer.c +++ b/libmpdemux/mpeg_packetizer.c @@ -44,10 +44,10 @@ static unsigned char ps1_header[] = { 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 @@ send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts, int ty 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 @@ send_mpeg_ps_packet (unsigned char *data, int len, int id, uint64_t pts, int typ 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, diff --git a/libmpdemux/mpeg_packetizer.h b/libmpdemux/mpeg_packetizer.h index ce68ef6c5c..969c2f1133 100644 --- a/libmpdemux/mpeg_packetizer.h +++ b/libmpdemux/mpeg_packetizer.h @@ -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)); |