#include detected soundcard.h instead of testing for OpenBSD
authorMåns Rullgård <mans@mansr.com>
Sat, 10 Feb 2007 22:25:52 +0000 (22:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 10 Feb 2007 22:25:52 +0000 (22:25 +0000)
Originally committed as revision 7912 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/audio.c

index 1dfcccc..faa0a8b 100644 (file)
@@ -23,7 +23,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#ifdef __OpenBSD__
+#ifdef HAVE_SOUNDCARD_H
 #include <soundcard.h>
 #else
 #include <sys/soundcard.h>