[MPlayer-cvslog] r24590 - trunk/libmpdemux/demux_ts.c

nicodvb subversion at mplayerhq.hu
Sat Sep 22 10:40:02 CEST 2007


Author: nicodvb
Date: Sat Sep 22 10:40:02 2007
New Revision: 24590

Log:
removed unused function parameters

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	(original)
+++ trunk/libmpdemux/demux_ts.c	Sat Sep 22 10:40:02 2007
@@ -1723,7 +1723,7 @@ static uint16_t get_mp4_desc_len(uint8_t
 }
 
 
-static uint16_t parse_mp4_slconfig_descriptor(pmt_t *pmt, uint8_t *buf, int len, void *elem)
+static uint16_t parse_mp4_slconfig_descriptor(uint8_t *buf, int len, void *elem)
 {
 	int i = 0;
 	mp4_es_descr_t *es;
@@ -1883,7 +1883,7 @@ static uint16_t parse_mp4_decoder_config
 	return len;
 }
 
-static uint16_t parse_mp4_decoder_specific_descriptor(pmt_t *pmt, uint8_t *buf, int len, void *elem)
+static uint16_t parse_mp4_decoder_specific_descriptor(uint8_t *buf, int len, void *elem)
 {
 	int i;
 	mp4_decoder_config_t *dec;
@@ -1912,7 +1912,7 @@ static uint16_t parse_mp4_decoder_specif
 	return len;
 }
 
-static uint16_t parse_mp4_es_descriptor(pmt_t *pmt, uint8_t *buf, int len, void *elem)
+static uint16_t parse_mp4_es_descriptor(pmt_t *pmt, uint8_t *buf, int len)
 {
 	int i = 0, j = 0, k, found;
 	uint8_t flag;
@@ -2052,16 +2052,16 @@ static int parse_mp4_descriptors(pmt_t *
 				parse_mp4_iod(pmt, &(buf[i]), descr_len, elem);
 				break;
 			case 0x3:
-				parse_mp4_es_descriptor(pmt, &(buf[i]), descr_len, elem);
+				parse_mp4_es_descriptor(pmt, &(buf[i]), descr_len);
 				break;
 			case 0x4:
 				parse_mp4_decoder_config_descriptor(pmt, &buf[i], descr_len, elem);
 				break;
 			case 0x05:
-				parse_mp4_decoder_specific_descriptor(pmt, &buf[i], descr_len, elem);
+				parse_mp4_decoder_specific_descriptor(&buf[i], descr_len, elem);
 				break;
 			case 0x6:
-				parse_mp4_slconfig_descriptor(pmt, &buf[i], descr_len, elem);
+				parse_mp4_slconfig_descriptor(&buf[i], descr_len, elem);
 				break;
 			default:
 				mp_msg(MSGT_DEMUX, MSGL_V, "Unsupported mp4 descriptor 0x%x\n", tag);
@@ -2234,7 +2234,7 @@ static int parse_descriptors(struct pmt_
 	return 1;
 }
 
-static int parse_sl_section(pmt_t *pmt, ts_section_t *section, uint16_t progid, uint16_t pid, int is_start, unsigned char *buff, int size)
+static int parse_sl_section(pmt_t *pmt, ts_section_t *section, int is_start, unsigned char *buff, int size)
 {
 	int tid, len, skip;
 	uint8_t *ptr;
@@ -2889,7 +2889,7 @@ static int ts_parse(demuxer_t *demuxer ,
 				if(pmt->es[k].mp4_es_id == mp4_es_id)
 				{
 					section = &(tss->section);
-					parse_sl_section(pmt, section, progid, pid, is_start, &packet[base], buf_size);
+					parse_sl_section(pmt, section, is_start, &packet[base], buf_size);
 				}
 			}
 			continue;



More information about the MPlayer-cvslog mailing list