summaryrefslogtreecommitdiffstats
path: root/m4/a52.m4
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-05-18 00:13:45 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-05-18 00:13:45 +0000
commit5897cacde20f21055192628c5adcdac30617a41a (patch)
tree9dd9d9fe46b773d74965c8cd908ea265fe578196 /m4/a52.m4
parent2c145016452cf24e07e7cdcd477342b20807ebb7 (diff)
downloadgst-plugins-bad-5897cacde20f21055192628c5adcdac30617a41a.tar.gz
gst-plugins-bad-5897cacde20f21055192628c5adcdac30617a41a.tar.bz2
gst-plugins-bad-5897cacde20f21055192628c5adcdac30617a41a.zip
m4/a52.m4: fix compilation with -Wall -Werror
Original commit message from CVS: * m4/a52.m4 : fix compilation with -Wall -Werror * m4/libfame.m4 : idem * m4/libmikmod.m4 : idem
Diffstat (limited to 'm4/a52.m4')
-rw-r--r--m4/a52.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/m4/a52.m4 b/m4/a52.m4
index 84bbf61f..6f476af8 100644
--- a/m4/a52.m4
+++ b/m4/a52.m4
@@ -79,12 +79,14 @@ int
main ()
{
a52_state_t *state;
+ state = a52_init (0);
+ a52_free (state);
return 0;
}
],, HAVE_A52DEC=no, [echo $ac_n "cross compiling; assumed OK... $ac_c"])
if test HAVE_A52DEC = "no"; then
- echo "*** Your a52dec is borked somehow. Please update to 0.7.3."
+ echo "*** Your a52dec is borked somehow. Please update to 0.7.4."
else
AC_TRY_RUN([
#include <inttypes.h>
@@ -93,13 +95,15 @@ main ()
int
main ()
{
- int i = sizeof (a52_state_t);
- return 0;
+ a52_state_t *state;
+ int i = sizeof (state);
+ if ( i )
+ return 0;
}
], HAVE_A52DEC=no,, [echo $ac_n "cross compiling; assumed OK... $ac_c"])
if test HAVE_A52DEC = "no"; then
- echo "*** Your a52dec is too old. Please update to 0.7.3."
+ echo "*** Your a52dec is too old. Please update to 0.7.4."
fi
fi
CFLAGS="$ac_save_CFLAGS"