Bug#888348: lives: FTBFS with FFmpeg 3.5

James Cowgill jcowgill at debian.org
Thu Jan 25 20:16:39 UTC 2018


Hi,

On 25/01/18 10:55, salsaman wrote:
> If you have a moment, perhaps you could pull the newly updated files from
> lives/lives-plugins/plugins/decoders in subversion (
> http://svn.code.sf.net/p/lives/code/trunk) and recompile. It should fix the
> FTBFS.

Thanks. The errors in the original build log have now been fixed, but
there are some more further on (build was done with make -k):

> libav_stream.c: In function 'set_palette':
> libav_stream.c:251:15: error: 'PIX_FMT_YUV420P' undeclared (first use in this function); did you mean 'AV_PIX_FMT_YUV420P'?
>    avpalette = PIX_FMT_YUV420P;//weed_palette_to_avi_pix_fmt(WEED_PALETTE_YUV420P, &myclamp);
>                ^~~~~~~~~~~~~~~
>                AV_PIX_FMT_YUV420P
> libav_stream.c:251:15: note: each undeclared identifier is reported only once for each function it appears in
> libav_stream.c: In function 'add_stream':
> libav_stream.c:459:17: error: 'CODEC_FLAG_GLOBAL_HEADER' undeclared (first use in this function); did you mean 'AV_CODEC_FLAG_GLOBAL_HEADER'?
>      c->flags |= CODEC_FLAG_GLOBAL_HEADER;
>                  ^~~~~~~~~~~~~~~~~~~~~~~~
>                  AV_CODEC_FLAG_GLOBAL_HEADER
> Makefile:852: recipe for target 'libav_stream_la-libav_stream.lo' failed
[...]
> avformat_decoder.c: In function 'attach_stream':
> avformat_decoder.c:360:44: error: 'AVCodecContext {aka struct AVCodecContext}' has no member named 'codec_name'; did you mean 'codec_type'?
>        sprintf(cdata->audio_name, "%s", cc->codec_name);
>                                             ^~~~~~~~~~
>                                             codec_type
> avformat_decoder.c:400:44: error: 'AVCodecContext {aka struct AVCodecContext}' has no member named 'codec_name'; did you mean 'codec_type'?
>        sprintf(cdata->video_name, "%s", cc->codec_name);
>                                             ^~~~~~~~~~
>                                             codec_type
> Makefile:862: recipe for target 'zzavformat_decoder_la-avformat_decoder.lo' failed
[...]
> mpegts_decoder.c: In function 'attach_stream':
> mpegts_decoder.c:3144:29: error: 'CODEC_CAP_TRUNCATED' undeclared (first use in this function); did you mean 'AV_CODEC_CAP_TRUNCATED'?
>    if (codec->capabilities & CODEC_CAP_TRUNCATED)
>                              ^~~~~~~~~~~~~~~~~~~
>                              AV_CODEC_CAP_TRUNCATED
> mpegts_decoder.c:3144:29: note: each undeclared identifier is reported only once for each function it appears in
> mpegts_decoder.c:3145:19: error: 'CODEC_FLAG_TRUNCATED' undeclared (first use in this function); did you mean 'CODEC_CAP_TRUNCATED'?
>      ctx->flags |= CODEC_FLAG_TRUNCATED;
>                    ^~~~~~~~~~~~~~~~~~~~
>                    CODEC_CAP_TRUNCATED
> At top level:
> mpegts_decoder.c:340:23: warning: 'options' defined but not used [-Wunused-const-variable=]
>  static const AVOption options[] = {
>                        ^~~~~~~
> Makefile:841: recipe for target 'mpegts_decoder_la-mpegts_decoder.lo' failed

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20180125/a18e7e78/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list