summaryrefslogtreecommitdiffstats
path: root/video/fmt-conversion.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-18 17:12:21 +0100
committerwm4 <wm4@nowhere>2013-12-18 17:12:21 +0100
commit2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc (patch)
treed8d7c08760dcc584f99eff7b921bb87a116fe532 /video/fmt-conversion.c
parent5e0424f17f23c24e82a4325ff81e7ef67ac1337a (diff)
downloadmpv-2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc.tar.bz2
mpv-2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc.tar.xz
Reduce recursive config.h inclusions in headers
In my opinion, config.h inclusions should be kept to a minimum. MPlayer code really liked including config.h everywhere, though, even in often used header files. Try to reduce this.
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r--video/fmt-conversion.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c
index 2dbbd026bc..e79ce4d29d 100644
--- a/video/fmt-conversion.c
+++ b/video/fmt-conversion.c
@@ -16,9 +16,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "common/msg.h"
-#include "libavutil/avutil.h"
#include <libavutil/pixdesc.h>
+#include <libavutil/avutil.h>
+
+#include "config.h"
+#include "common/msg.h"
#include "video/img_format.h"
#include "fmt-conversion.h"