Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2009-11-30 02:30:46 +0300
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-30 02:30:46 +0300
commit419bddd36692ebdbba88089b9acb702639f2f0f1 (patch)
treee9d698fdb1c0a916fcf83a0419f9bbc102fbef04 /libavdevice/alsa-audio-common.c
parent992f8eaee7080ab2e67cacd8851ca334f69156b3 (diff)
Include alsa headers before the internal FFmpeg headers.
This avoids symbol redefinitions problems, for example avoids the "free" symbol to be redefined before system headers actually using it are included, thus breaking compilation. In particular this change allows to build FFmpeg with salsa. Patch by matthieu castet <$surname.mat?hieu@free fr>. Originally committed as revision 20665 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/alsa-audio-common.c')
-rw-r--r--libavdevice/alsa-audio-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c
index f1d78b0cc5..e125b2d386 100644
--- a/libavdevice/alsa-audio-common.c
+++ b/libavdevice/alsa-audio-common.c
@@ -28,8 +28,8 @@
* @author Nicolas George ( nicolas george normalesup org )
*/
-#include "libavformat/avformat.h"
#include <alsa/asoundlib.h>
+#include "libavformat/avformat.h"
#include "alsa-audio.h"