Advertisement
Guest User

Untitled

a guest
Oct 5th, 2020
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 2.71 KB | None | 0 0
  1. [ 40/515] Compiling audio/format.c
  2. In file included from ../demux/demux_raw.c:28:
  3. ../common/av_common.h:36:1: error: unknown type name ‘AVCodecParameters’; did you mean ‘AVCodecParser’?
  4.    36 | AVCodecParameters *mp_codec_params_to_av(struct mp_codec_params *c);
  5.       | ^~~~~~~~~~~~~~~~~
  6.       | AVCodecParser
  7. ../demux/demux_raw.c: In function ‘demux_rawvideo_open’:
  8. ../demux/demux_raw.c:249:27: error: implicit declaration of function ‘avcodec_parameters_alloc’ [-Werror=implicit-function-declaration]
  9.   249 |         c->lav_codecpar = avcodec_parameters_alloc();
  10.       |                           ^~~~~~~~~~~~~~~~~~~~~~~~
  11. ../demux/demux_raw.c:249:25: warning: assignment to ‘struct AVCodecParameters *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  12.   249 |         c->lav_codecpar = avcodec_parameters_alloc();
  13.       |                         ^
  14. ../demux/demux_raw.c:252:24: error: invalid use of undefined type ‘struct AVCodecParameters’
  15.   252 |         c->lav_codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
  16.       |                        ^~
  17. ../demux/demux_raw.c:253:24: error: invalid use of undefined type ‘struct AVCodecParameters’
  18.   253 |         c->lav_codecpar->codec_id = mp_codec_to_av_codec_id(decoder);
  19.       |                        ^~
  20. ../demux/demux_raw.c:254:24: error: invalid use of undefined type ‘struct AVCodecParameters’
  21.   254 |         c->lav_codecpar->format = imgfmt2pixfmt(mp_imgfmt);
  22.       |                        ^~
  23. ../demux/demux_raw.c:255:24: error: invalid use of undefined type ‘struct AVCodecParameters’
  24.   255 |         c->lav_codecpar->width = width;
  25.       |                        ^~
  26. ../demux/demux_raw.c:256:24: error: invalid use of undefined type ‘struct AVCodecParameters’
  27.   256 |         c->lav_codecpar->height = height;
  28.       |                        ^~
  29. cc1: some warnings being treated as errors
  30.  
  31. ../audio/fmt-conversion.c:30:6: error: ‘AV_SAMPLE_FMT_S64’ undeclared here (not in a function); did you mean ‘AV_SAMPLE_FMT_S16P’?
  32.    30 |     {AV_SAMPLE_FMT_S64,   AF_FORMAT_S64},
  33.       |      ^~~~~~~~~~~~~~~~~
  34.       |      AV_SAMPLE_FMT_S16P
  35. ../audio/fmt-conversion.c:37:6: error: ‘AV_SAMPLE_FMT_S64P’ undeclared here (not in a function); did you mean ‘AV_SAMPLE_FMT_S32P’?
  36.    37 |     {AV_SAMPLE_FMT_S64P,  AF_FORMAT_S64P},
  37.       |      ^~~~~~~~~~~~~~~~~~
  38.       |      AV_SAMPLE_FMT_S32P
  39.  
  40. Waf: Leaving directory `/tmp/makepkg/mpv-full/src/mpv-0.32.0/build'
  41. Build failed
  42.  -> task in 'objects' failed with exit status 1 (run with -v to display more information)
  43.  -> task in 'objects' failed with exit status 1 (run with -v to display more information)
  44. ==> ERROR: A failure occurred in build().
  45.     Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement