Mercurial > mplayer.hg
changeset 24570:2ab48a4978d4
removed unused function parameters
author | nicodvb |
---|---|
date | Sat, 22 Sep 2007 08:40:02 +0000 |
parents | bc5dfd30626d |
children | 402b68e1a3bb |
files | libmpdemux/demux_ts.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c Sat Sep 22 08:29:25 2007 +0000 +++ b/libmpdemux/demux_ts.c Sat Sep 22 08:40:02 2007 +0000 @@ -1723,7 +1723,7 @@ } -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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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;