MythTV does not compile

Jan Beich jbeich at FreeBSD.org
Mon Jul 17 00:02:50 UTC 2017


George Mitchell <george+freebsd at 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.


More information about the freebsd-multimedia mailing list