# HG changeset patch # User reimar # Date 1182698732 0 # Node ID a81e246e3b381fc196e8112b91840b07c2ec204f # Parent df9aa9eb9de616c078ac7fa56da9c1d82eb44eaf Make sure we always have a swab() prototype when we use it, even if we use our osdep/swab.c emulation diff -r df9aa9eb9de6 -r a81e246e3b38 libmpcodecs/ad_hwac3.c --- 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" diff -r df9aa9eb9de6 -r a81e246e3b38 libmpcodecs/ad_liba52.c --- 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" diff -r df9aa9eb9de6 -r a81e246e3b38 mpbswap.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 */