# HG changeset patch # User rathann # Date 1093726616 0 # Node ID ec342714b8a9ed6bd5e8a76e8e9faa0a943fc99d # Parent c70e7ad9ef7cc168c40c6e5db614da22c217a3cf small fixes diff -r c70e7ad9ef7c -r ec342714b8a9 libmpdemux/aviheader.c --- a/libmpdemux/aviheader.c Sat Aug 28 20:53:01 2004 +0000 +++ b/libmpdemux/aviheader.c Sat Aug 28 20:56:56 2004 +0000 @@ -27,6 +27,7 @@ extern void print_index(AVIINDEXENTRY *idx,int idx_size); extern void print_avistdindex_chunk(avistdindex_chunk *h); extern void print_avisuperindex_chunk(avisuperindex_chunk *h); +extern void print_vprp(VideoPropHeader *vprp); static int odml_get_vstream_id(int id, unsigned char res[]) { diff -r c70e7ad9ef7c -r ec342714b8a9 libmpdemux/demux_ts.c --- a/libmpdemux/demux_ts.c Sat Aug 28 20:53:01 2004 +0000 +++ b/libmpdemux/demux_ts.c Sat Aug 28 20:56:56 2004 +0000 @@ -36,7 +36,7 @@ #include "bswap.h" #include "../unrarlib.h" - +#include "../liba52/a52.h" #define TS_FEC_PACKET_SIZE 204 #define TS_PACKET_SIZE 188 @@ -1361,7 +1361,7 @@ if(priv->pmt == NULL) { mp_msg(MSGT_DEMUX, MSGL_ERR, "PARSE_PMT: COULDN'T REALLOC %d bytes, NEXT\n", sz); - return NULL; + return 0; } idx = priv->pmt_cnt; @@ -1404,7 +1404,7 @@ { mp_msg(MSGT_DEMUX, MSGL_V, "FILL_PMT(prog=%d, PID=%d), ERROR! PMT TOO LONG, IGNORING\n", progid, pid); pmt->buffer_len = 0; - return NULL; + return 0; } memcpy(&(pmt->buffer[pmt->buffer_len]), &buff[m], size - m); diff -r c70e7ad9ef7c -r ec342714b8a9 libmpdemux/realrtsp/rtsp_session.c --- a/libmpdemux/realrtsp/rtsp_session.c Sat Aug 28 20:53:01 2004 +0000 +++ b/libmpdemux/realrtsp/rtsp_session.c Sat Aug 28 20:56:56 2004 +0000 @@ -168,7 +168,7 @@ to_copy -= fill; dest += fill; this->recv_read = 0; - this->recv_size = real_get_rdt_chunk (this->s, &(this->recv)); + this->recv_size = real_get_rdt_chunk (this->s, (char **)&(this->recv)); source = this->recv; fill = this->recv_size;