1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 21:31:13 +00:00

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.
This commit is contained in:
wm4 2013-01-06 16:04:17 +01:00
parent 55b2f0847f
commit fe8d3e70b2

View File

@ -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