[MPlayer-users] MPlayer does not compile with recent FFmpeg git checkout (missing libavcodec/opt.h)
auerswal at unix-ag.uni-kl.de
Sat Jan 28 15:42:16 CET 2012
On 01/28/2012 03:24 PM, Erik Auerswald wrote:
> On 01/28/2012 02:52 PM, Reimar Döffinger wrote:
>> On Sat, Jan 28, 2012 at 02:19:59PM +0100, Erik Auerswald wrote:
>>> MPlayer (from svn) does not compile with a recent FFmpeg (from git),
>>> because MPlayer's av_opts.c includes libavcodec/opt.h, which does
>>> not exist.
>> There are a lot more issues right now.
>> However I would never have noticed that one, since I had ffmpeg
>> headers installed so it just used the old libavcodec/opt.h from those...
> I found another instance of this problem, see patch below:
> Index: libmpdemux/demux_lavf.c
> --- libmpdemux/demux_lavf.c (revision 34635)
> +++ libmpdemux/demux_lavf.c (working copy)
> @@ -41,7 +41,7 @@
> #include "libavutil/avutil.h"
> #include "libavutil/avstring.h"
> #include "libavutil/mathematics.h"
> -#include "libavcodec/opt.h"
> +#include "libavutil/opt.h"
> #include "mp_taglists.h"
With that patch applied, MPlayer compiles again. :-)
More information about the MPlayer-users