changeset 10310:68e714ed669f

fix one missing #include, one missing extern and one 10l error.
author rathann
date Thu, 19 Jun 2003 18:20:15 +0000
parents 3c0e1b182fbc
children 87043624b0d8
files libmpdemux/demux_ts.c libmpdemux/demux_ty_osd.c libmpdemux/demuxer.c
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Wed Jun 18 17:37:36 2003 +0000
+++ b/libmpdemux/demux_ts.c	Thu Jun 19 18:20:15 2003 +0000
@@ -86,6 +86,7 @@
 
 
 static int ts_parse(demuxer_t *demuxer, ES_stream_t *es, unsigned char *packet, int probe);
+extern void resync_audio_stream( sh_audio_t *sh_audio );
 
 static uint8_t get_packet_size(const unsigned char *buf, int size)
 {
--- a/libmpdemux/demux_ty_osd.c	Wed Jun 18 17:37:36 2003 +0000
+++ b/libmpdemux/demux_ty_osd.c	Thu Jun 19 18:20:15 2003 +0000
@@ -11,6 +11,7 @@
 #include <unistd.h>
 #include <time.h>
 #include <stdarg.h>
+#include <string.h>
 
 #include "config.h"
 #include "mp_msg.h"
--- a/libmpdemux/demuxer.c	Wed Jun 18 17:37:36 2003 +0000
+++ b/libmpdemux/demuxer.c	Thu Jun 19 18:20:15 2003 +0000
@@ -1517,7 +1517,7 @@
   return NULL;
 }
 
-extern int demux_ty(demuxer_t *demuxer, int cmd, void *arg);
+extern int demux_ty_control(demuxer_t *demuxer, int cmd, void *arg);
 extern int demux_mpg_control(demuxer_t *demuxer, int cmd, void *arg);
 extern int demux_asf_control(demuxer_t *demuxer, int cmd, void *arg);
 extern int demux_avi_control(demuxer_t *demuxer, int cmd, void *arg);