diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-02-01 20:01:16 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-02-01 22:46:27 +0200 |
commit | fc6a9e4a3e0278e1a1f5c0bf570667306f716fed (patch) | |
tree | d94999fc238126f28c4c5e88c341829001b226df /libmpcodecs/vd_theora.c | |
parent | cdb6d157ccb2d311afb72b7cbf128c3866e85ec6 (diff) | |
download | mpv-fc6a9e4a3e0278e1a1f5c0bf570667306f716fed.tar.bz2 mpv-fc6a9e4a3e0278e1a1f5c0bf570667306f716fed.tar.xz |
build: switch to libavutil bswap.h and intreadwrite.h
Remove the private bswap and intreadwrite.h implementations and use
libavutil headers instead.
Originally these headers weren't publicly installed by libavutil at
all. That already changed in 2010, but the pure C bswap version in
installed headers was very inefficient. That was recently (2011-12)
improved and now using the public bswap version probably shouldn't
cause noticeable performance problems, at least if using a new enough
compiler.
Diffstat (limited to 'libmpcodecs/vd_theora.c')
-rw-r--r-- | libmpcodecs/vd_theora.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vd_theora.c b/libmpcodecs/vd_theora.c index 5ad3b35691..ba3c0d5d86 100644 --- a/libmpcodecs/vd_theora.c +++ b/libmpcodecs/vd_theora.c @@ -21,12 +21,13 @@ #include <stdarg.h> #include <assert.h> +#include <libavutil/intreadwrite.h> + #include "config.h" #include "mp_msg.h" #include "vd_internal.h" -#include "ffmpeg_files/intreadwrite.h" static const vd_info_t info = { "Theora/VP3", |