diff options
author | wm4 <wm4@nowhere> | 2013-01-06 16:04:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-06 16:04:17 +0100 |
commit | fe8d3e70b2f7df3ecf8f2c758f3d23e9831b21b7 (patch) | |
tree | 3268830ef1aeaf36650eff9a862f34483d927bf7 /audio | |
parent | 55b2f0847fa17673c415741d9471fe2b9eee7741 (diff) | |
download | mpv-fe8d3e70b2f7df3ecf8f2c758f3d23e9831b21b7.tar.bz2 mpv-fe8d3e70b2f7df3ecf8f2c758f3d23e9831b21b7.tar.xz |
ao_sdl: fix compilation with Libav
On Libav, <libavutil/fifo.h> doesn't recursively include common.h, but
the code in ao_sdl.c uses some macros defined by this header.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_sdl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_sdl.c b/audio/out/ao_sdl.c index 3bd73b99a2..7cfb1ae1e2 100644 --- a/audio/out/ao_sdl.c +++ b/audio/out/ao_sdl.c @@ -28,6 +28,7 @@ #include "osdep/timer.h" #include <libavutil/fifo.h> +#include <libavutil/common.h> #include <SDL.h> // hack because SDL can't be asked about the current delay |