changeset 32345:e9556f0abee8

Replace forward declarations of skip_audio_frame() by proper #include.
author diego
date Sun, 03 Oct 2010 15:32:53 +0000
parents 0e036289e7ef
children 1fb9fff0eb39
files libmpdemux/demux_mpg.c libmpdemux/demux_ts.c libmpdemux/demux_ty.c
diffstat 3 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Sun Oct 03 15:28:49 2010 +0000
+++ b/libmpdemux/demux_mpg.c	Sun Oct 03 15:32:53 2010 +0000
@@ -29,6 +29,7 @@
 #include "mpcommon.h"
 #include "help_mp.h"
 
+#include "libmpcodecs/dec_audio.h"
 #include "stream/stream.h"
 #include "demuxer.h"
 #include "parse_es.h"
@@ -899,8 +900,6 @@
   return 1;
 }
 
-void skip_audio_frame(sh_audio_t *sh_audio);
-
 static void demux_seek_mpg(demuxer_t *demuxer, float rel_seek_secs,
                            float audio_delay, int flags)
 {
--- a/libmpdemux/demux_ts.c	Sun Oct 03 15:28:49 2010 +0000
+++ b/libmpdemux/demux_ts.c	Sun Oct 03 15:32:53 2010 +0000
@@ -31,6 +31,7 @@
 #include "mpcommon.h"
 #include "help_mp.h"
 
+#include "libmpcodecs/dec_audio.h"
 #include "stream/stream.h"
 #include "demuxer.h"
 #include "parse_es.h"
@@ -3167,8 +3168,6 @@
 }
 
 
-void skip_audio_frame(sh_audio_t *sh_audio);
-
 static void reset_fifos(demuxer_t *demuxer, int a, int v, int s)
 {
 	ts_priv_t* priv = demuxer->priv;
--- a/libmpdemux/demux_ty.c	Sun Oct 03 15:28:49 2010 +0000
+++ b/libmpdemux/demux_ty.c	Sun Oct 03 15:32:53 2010 +0000
@@ -39,6 +39,7 @@
 #include "mp_msg.h"
 #include "help_mp.h"
 
+#include "libmpcodecs/dec_audio.h"
 #include "libvo/sub.h"
 #include "stream/stream.h"
 #include "demuxer.h"
@@ -49,8 +50,6 @@
 #include "libavutil/avstring.h"
 #include "libavutil/intreadwrite.h"
 
-void skip_audio_frame( sh_audio_t *sh_audio );
-
 // 2/c0: audio data
 // 3/c0: audio packet header (PES header)
 // 4/c0: audio data (S/A only?)