changeset 23638:a81e246e3b38

Make sure we always have a swab() prototype when we use it, even if we use our osdep/swab.c emulation
author reimar
date Sun, 24 Jun 2007 15:25:32 +0000
parents df9aa9eb9de6
children 2606b8c645de
files libmpcodecs/ad_hwac3.c libmpcodecs/ad_liba52.c mpbswap.h
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_hwac3.c	Sun Jun 24 14:54:56 2007 +0000
+++ b/libmpcodecs/ad_hwac3.c	Sun Jun 24 15:25:32 2007 +0000
@@ -15,6 +15,7 @@
 
 #include "mp_msg.h"
 #include "help_mp.h"
+#include "mpbswap.h"
 
 #include "ad_internal.h"
 
--- a/libmpcodecs/ad_liba52.c	Sun Jun 24 14:54:56 2007 +0000
+++ b/libmpcodecs/ad_liba52.c	Sun Jun 24 15:25:32 2007 +0000
@@ -8,6 +8,7 @@
 
 #include "mp_msg.h"
 #include "help_mp.h"
+#include "mpbswap.h"
 
 #include "ad_internal.h"
 
--- a/mpbswap.h	Sun Jun 24 14:54:56 2007 +0000
+++ b/mpbswap.h	Sun Jun 24 15:25:32 2007 +0000
@@ -2,5 +2,6 @@
 #define MPBSWAP_H
 
 #include "libavutil/bswap.h"
+void swab(const void *from, void *to, ssize_t n);
 
 #endif /* MPBSWAP_H */