Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 02:02:46 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        George Mitchell <george+freebsd@m5p.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: MythTV does not compile
Message-ID:  <4luc-x74p-wny@FreeBSD.org>
In-Reply-To: <66b7ab4f-8144-40d5-4ac7-ff6851b9deb2@m5p.com> (George Mitchell's message of "Sun, 16 Jul 2017 18:57:24 -0400")
References:  <66b7ab4f-8144-40d5-4ac7-ff6851b9deb2@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help
George Mitchell <george+freebsd@m5p.com> writes:

> In file included from audio/spdifencoder.cpp:6:
> audio/spdifencoder.h:35:34: error: use of undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
>     unsigned char       m_buffer[AVCODEC_MAX_AUDIO_FRAME_SIZE];
>                                  ^
> audio/audiooutpututil.cpp:252:5: error: use of undeclared identifier 'avcodec_get_frame_defaults'
>     avcodec_get_frame_defaults(&frame);
>     ^

For some reason it uses system FFmpeg where the deprecated API is gone.
Try adding USES+=localbase to the Makefile.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4luc-x74p-wny>