Advertisement
Brutico

mlt

Dec 29th, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.65 KB | None | 0 0
  1. le included from /usr/include/libavformat/avformat.h:319:0,
  2. from filter_avcolour_space.c:27:
  3. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  4. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  5. ^~~~~~~~~~~~~~
  6. filter_avcolour_space.c:132:2: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  7. avpicture_fill( &output, out, out_fmt, width, height );
  8. ^~~~~~~~~~~~~~
  9. In file included from /usr/include/libavformat/avformat.h:319:0,
  10. from filter_avcolour_space.c:27:
  11. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  12. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  13. ^~~~~~~~~~~~~~
  14. filter_avcolour_space.c:141:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  15. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, height,
  16. ^~~~~~~~~
  17. In file included from /usr/include/libavformat/avformat.h:319:0,
  18. from filter_avcolour_space.c:27:
  19. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  20. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  21. ^~~~
  22. filter_avcolour_space.c:141:3: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  23. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, height,
  24. ^~~~~~~~~
  25. In file included from /usr/include/libavformat/avformat.h:319:0,
  26. from filter_avcolour_space.c:27:
  27. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  28. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  29. ^~~~~~~~
  30. filter_avcolour_space.c:142:4: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  31. output.data, output.linesize);
  32. ^~~~~~
  33. In file included from /usr/include/libavformat/avformat.h:319:0,
  34. from filter_avcolour_space.c:27:
  35. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  36. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  37. ^~~~
  38. filter_avcolour_space.c:142:4: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  39. output.data, output.linesize);
  40. ^~~~~~
  41. In file included from /usr/include/libavformat/avformat.h:319:0,
  42. from filter_avcolour_space.c:27:
  43. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  44. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  45. ^~~~~~~~
  46. filter_avcolour_space.c: In function ‘convert_image’:
  47. filter_avcolour_space.c:172:3: warning: ‘avpicture_get_size’ is deprecated [-Wdeprecated-declarations]
  48. int size = FFMAX( avpicture_get_size( out_fmt, width, height ),
  49. ^~~
  50. In file included from /usr/include/libavformat/avformat.h:319:0,
  51. from filter_avcolour_space.c:27:
  52. /usr/include/libavcodec/avcodec.h:5468:5: note: declared here
  53. int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
  54. ^~~~~~~~~~~~~~~~~~
  55. filter_avcolour_space.c:172:3: warning: ‘avpicture_get_size’ is deprecated [-Wdeprecated-declarations]
  56. int size = FFMAX( avpicture_get_size( out_fmt, width, height ),
  57. ^~~
  58. In file included from /usr/include/libavformat/avformat.h:319:0,
  59. from filter_avcolour_space.c:27:
  60. /usr/include/libavcodec/avcodec.h:5468:5: note: declared here
  61. int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
  62. ^~~~~~~~~~~~~~~~~~
  63. x86_64-pc-linux-gnu-gcc -march=broadwell -O2 -pipe -DARCH_X86_64 -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DARCH_X86_64 -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -DARCH_X86_64 -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -DAVDATADIR=\"/usr/share/ffmpeg/\" -DFILTERS -DVDPAU -DCODECS -DAVDEVICE -DAVFILTER -c -o filter_avfilter.o filter_avfilter.c
  64. filter_avresample.c: In function ‘resample_get_audio’:
  65. filter_avresample.c:85:4: warning: ‘av_audio_resample_init’ is deprecated [-Wdeprecated-declarations]
  66. resample = av_audio_resample_init( *channels, *channels, output_rate, *frequency,
  67. ^~~~~~~~
  68. In file included from /usr/include/libavformat/avformat.h:319:0,
  69. from filter_avresample.c:29:
  70. /usr/include/libavcodec/avcodec.h:5364:18: note: declared here
  71. ReSampleContext *av_audio_resample_init(int output_channels, int input_channels,
  72. ^~~~~~~~~~~~~~~~~~~~~~
  73. filter_avresample.c:89:4: warning: ‘audio_resample_close’ is deprecated [-Wdeprecated-declarations]
  74. mlt_properties_set_data( filter_properties, "audio_resample", resample, 0, ( mlt_destructor )audio_resample_close, NULL );
  75. ^~~~~~~~~~~~~~~~~~~~~~~
  76. In file included from /usr/include/libavformat/avformat.h:319:0,
  77. from filter_avresample.c:29:
  78. /usr/include/libavcodec/avcodec.h:5381:6: note: declared here
  79. void audio_resample_close(ReSampleContext *s);
  80. ^~~~~~~~~~~~~~~~~~~~
  81. filter_avresample.c:98:3: warning: ‘audio_resample’ is deprecated [-Wdeprecated-declarations]
  82. used = audio_resample( resample, sample_buffer, *buffer, *samples );
  83. ^~~~
  84. In file included from /usr/include/libavformat/avformat.h:319:0,
  85. from filter_avresample.c:29:
  86. /usr/include/libavcodec/avcodec.h:5372:5: note: declared here
  87. int audio_resample(ReSampleContext *s, short *output, short *input, int nb_samples);
  88. ^~~~~~~~~~~~~~
  89. filter_avdeinterlace.c: In function ‘mlt_avpicture_deinterlace’:
  90. filter_avdeinterlace.c:243:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  91. if ((width & 3) != 0 || (height & 3) != 0)
  92. ^~
  93. filter_avdeinterlace.c:246:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  94. if ( pix_fmt != AV_PIX_FMT_YUYV422 )
  95. ^~
  96. filter_avdeinterlace.c:266:15: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  97. deinterlace_bottom_field_inplace(dst->data[i], dst->linesize[i],
  98. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  99. In file included from /usr/include/libavformat/avformat.h:319:0,
  100. from filter_avdeinterlace.c:27:
  101. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  102. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  103. ^~~~
  104. filter_avdeinterlace.c:266:15: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  105. deinterlace_bottom_field_inplace(dst->data[i], dst->linesize[i],
  106. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  107. In file included from /usr/include/libavformat/avformat.h:319:0,
  108. from filter_avdeinterlace.c:27:
  109. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  110. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  111. ^~~~~~~~
  112. filter_avdeinterlace.c:269:15: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  113. deinterlace_bottom_field(dst->data[i],dst->linesize[i],
  114. ^~~~~~~~~~~~~~~~~~~~~~~~
  115. In file included from /usr/include/libavformat/avformat.h:319:0,
  116. from filter_avdeinterlace.c:27:
  117. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  118. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  119. ^~~~
  120. filter_avdeinterlace.c:269:15: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  121. deinterlace_bottom_field(dst->data[i],dst->linesize[i],
  122. ^~~~~~~~~~~~~~~~~~~~~~~~
  123. In file included from /usr/include/libavformat/avformat.h:319:0,
  124. from filter_avdeinterlace.c:27:
  125. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  126. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  127. ^~~~~~~~
  128. filter_avdeinterlace.c:270:43: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  129. src->data[i], src->linesize[i],
  130. ^~~
  131. In file included from /usr/include/libavformat/avformat.h:319:0,
  132. from filter_avdeinterlace.c:27:
  133. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  134. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  135. ^~~~
  136. filter_avdeinterlace.c:270:43: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  137. src->data[i], src->linesize[i],
  138. ^~~
  139. In file included from /usr/include/libavformat/avformat.h:319:0,
  140. from filter_avdeinterlace.c:27:
  141. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  142. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  143. ^~~~~~~~
  144. filter_avdeinterlace.c:277:11: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  145. deinterlace_bottom_field_inplace(dst->data[0], dst->linesize[0],
  146. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  147. In file included from /usr/include/libavformat/avformat.h:319:0,
  148. from filter_avdeinterlace.c:27:
  149. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  150. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  151. ^~~~
  152. filter_avdeinterlace.c:277:11: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  153. deinterlace_bottom_field_inplace(dst->data[0], dst->linesize[0],
  154. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155. In file included from /usr/include/libavformat/avformat.h:319:0,
  156. from filter_avdeinterlace.c:27:
  157. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  158. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  159. ^~~~~~~~
  160. filter_avdeinterlace.c:280:11: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  161. deinterlace_bottom_field(dst->data[0],dst->linesize[0],
  162. ^~~~~~~~~~~~~~~~~~~~~~~~
  163. In file included from /usr/include/libavformat/avformat.h:319:0,
  164. from filter_avdeinterlace.c:27:
  165. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  166. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  167. ^~~~
  168. filter_avdeinterlace.c:280:11: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  169. deinterlace_bottom_field(dst->data[0],dst->linesize[0],
  170. ^~~~~~~~~~~~~~~~~~~~~~~~
  171. In file included from /usr/include/libavformat/avformat.h:319:0,
  172. from filter_avdeinterlace.c:27:
  173. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  174. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  175. ^~~~~~~~
  176. filter_avdeinterlace.c:281:39: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  177. src->data[0], src->linesize[0],
  178. ^~~
  179. In file included from /usr/include/libavformat/avformat.h:319:0,
  180. from filter_avdeinterlace.c:27:
  181. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  182. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  183. ^~~~
  184. filter_avdeinterlace.c:281:39: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  185. src->data[0], src->linesize[0],
  186. ^~~
  187. In file included from /usr/include/libavformat/avformat.h:319:0,
  188. from filter_avdeinterlace.c:27:
  189. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  190. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  191. ^~~~~~~~
  192. filter_avdeinterlace.c: In function ‘filter_get_image’:
  193. filter_avdeinterlace.c:315:3: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  194. avpicture_fill( output, *image, AV_PIX_FMT_YUYV422, *width, *height );
  195. ^~~~~~~~~~~~~~
  196. In file included from /usr/include/libavformat/avformat.h:319:0,
  197. from filter_avdeinterlace.c:27:
  198. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  199. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  200. ^~~~~~~~~~~~~~
  201. filter_swscale.c: In function ‘filter_scale’:
  202. filter_swscale.c:119:2: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  203. avpicture_fill( &input, *image, avformat, iwidth, iheight );
  204. ^~~~~~~~~~~~~~
  205. In file included from /usr/include/libavformat/avformat.h:319:0,
  206. from filter_swscale.c:26:
  207. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  208. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  209. ^~~~~~~~~~~~~~
  210. filter_swscale.c:120:2: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  211. avpicture_fill( &output, outbuf, avformat, owidth, oheight );
  212. ^~~~~~~~~~~~~~
  213. In file included from /usr/include/libavformat/avformat.h:319:0,
  214. from filter_swscale.c:26:
  215. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  216. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  217. ^~~~~~~~~~~~~~
  218. filter_swscale.c:127:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  219. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  220. ^~~~~~~~~
  221. In file included from /usr/include/libavformat/avformat.h:319:0,
  222. from filter_swscale.c:26:
  223. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  224. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  225. ^~~~
  226. filter_swscale.c:127:3: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  227. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  228. ^~~~~~~~~
  229. In file included from /usr/include/libavformat/avformat.h:319:0,
  230. from filter_swscale.c:26:
  231. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  232. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  233. ^~~~~~~~
  234. filter_swscale.c:127:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  235. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  236. ^~~~~~~~~
  237. In file included from /usr/include/libavformat/avformat.h:319:0,
  238. from filter_swscale.c:26:
  239. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  240. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  241. ^~~~
  242. filter_swscale.c:127:3: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  243. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  244. ^~~~~~~~~
  245. In file included from /usr/include/libavformat/avformat.h:319:0,
  246. from filter_swscale.c:26:
  247. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  248. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  249. ^~~~~~~~
  250. filter_swscale.c:131:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  251. mlt_frame_set_image( frame, output.data[0], owidth * ( oheight + 1 ) * bpp, mlt_pool_release );
  252. ^~~~~~~~~~~~~~~~~~~
  253. In file included from /usr/include/libavformat/avformat.h:319:0,
  254. from filter_swscale.c:26:
  255. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  256. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  257. ^~~~
  258. filter_swscale.c:134:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  259. *image = output.data[0];
  260. ^
  261. In file included from /usr/include/libavformat/avformat.h:319:0,
  262. from filter_swscale.c:26:
  263. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  264. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  265. ^~~~
  266. filter_swscale.c:147:5: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  267. avpicture_fill( &input, alpha, avformat, iwidth, iheight );
  268. ^~~~~~~~~~~~~~
  269. In file included from /usr/include/libavformat/avformat.h:319:0,
  270. from filter_swscale.c:26:
  271. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  272. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  273. ^~~~~~~~~~~~~~
  274. filter_swscale.c:149:5: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  275. avpicture_fill( &output, outbuf, avformat, owidth, oheight );
  276. ^~~~~~~~~~~~~~
  277. In file included from /usr/include/libavformat/avformat.h:319:0,
  278. from filter_swscale.c:26:
  279. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  280. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  281. ^~~~~~~~~~~~~~
  282. filter_swscale.c:152:5: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  283. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  284. ^~~~~~~~~
  285. In file included from /usr/include/libavformat/avformat.h:319:0,
  286. from filter_swscale.c:26:
  287. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  288. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  289. ^~~~
  290. filter_swscale.c:152:5: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  291. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  292. ^~~~~~~~~
  293. In file included from /usr/include/libavformat/avformat.h:319:0,
  294. from filter_swscale.c:26:
  295. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  296. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  297. ^~~~~~~~
  298. filter_swscale.c:152:5: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  299. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  300. ^~~~~~~~~
  301. In file included from /usr/include/libavformat/avformat.h:319:0,
  302. from filter_swscale.c:26:
  303. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  304. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  305. ^~~~
  306. filter_swscale.c:152:5: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  307. sws_scale( context, (const uint8_t* const*) input.data, input.linesize, 0, iheight, output.data, output.linesize);
  308. ^~~~~~~~~
  309. In file included from /usr/include/libavformat/avformat.h:319:0,
  310. from filter_swscale.c:26:
  311. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  312. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  313. ^~~~~~~~
  314. filter_swscale.c:156:5: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  315. mlt_frame_set_alpha( frame, output.data[0], owidth * oheight, mlt_pool_release );
  316. ^~~~~~~~~~~~~~~~~~~
  317. In file included from /usr/include/libavformat/avformat.h:319:0,
  318. from filter_swscale.c:26:
  319. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  320. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  321. ^~~~
  322. consumer_avformat.c: In function ‘add_audio_stream’:
  323. consumer_avformat.c:562:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  324. AVCodecContext *c = st->codec;
  325. ^~~~~~~~~~~~~~
  326. In file included from consumer_avformat.c:37:0:
  327. /usr/include/libavformat/avformat.h:893:21: note: declared here
  328. AVCodecContext *codec;
  329. ^~~~~
  330. consumer_avformat.c: In function ‘open_audio’:
  331. consumer_avformat.c:637:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  332. AVCodecContext *c = st->codec;
  333. ^~~~~~~~~~~~~~
  334. In file included from consumer_avformat.c:37:0:
  335. /usr/include/libavformat/avformat.h:893:21: note: declared here
  336. AVCodecContext *codec;
  337. ^~~~~
  338. consumer_avformat.c:673:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  339. switch(st->codec->codec_id)
  340. ^~~~~~
  341. In file included from consumer_avformat.c:37:0:
  342. /usr/include/libavformat/avformat.h:893:21: note: declared here
  343. AVCodecContext *codec;
  344. ^~~~~
  345. In file included from producer_avformat.c:153:0:
  346. vdpau.c: In function ‘vdpau_get_buffer’:
  347. vdpau.c:162:9: error: ‘AVFrame {aka struct AVFrame}’ has no member named ‘type’
  348. frame->type = FF_BUFFER_TYPE_USER;
  349. ^~
  350. vdpau.c:162:18: error: ‘FF_BUFFER_TYPE_USER’ undeclared (first use in this function)
  351. frame->type = FF_BUFFER_TYPE_USER;
  352. ^~~~~~~~~~~~~~~~~~~
  353. vdpau.c:162:18: note: each undeclared identifier is reported only once for each function it appears in
  354. vdpau.c:165:14: error: ‘AVFrame {aka struct AVFrame}’ has no member named ‘reference’
  355. if ( frame->reference )
  356. ^~
  357. vdpau.c: In function ‘vdpau_decoder_init’:
  358. vdpau.c:239:19: error: ‘AVCodecContext {aka struct AVCodecContext}’ has no member named ‘get_buffer’; did you mean ‘get_buffer2’?
  359. self->video_codec->get_buffer = vdpau_get_buffer;
  360. ^~
  361. vdpau.c:240:19: error: ‘AVCodecContext {aka struct AVCodecContext}’ has no member named ‘release_buffer’; did you mean ‘get_buffer2’?
  362. self->video_codec->release_buffer = vdpau_release_buffer;
  363. ^~
  364. consumer_avformat.c: In function ‘close_audio’:
  365. consumer_avformat.c:719:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  366. if ( st && st->codec )
  367. ^~
  368. In file included from consumer_avformat.c:37:0:
  369. /usr/include/libavformat/avformat.h:893:21: note: declared here
  370. AVCodecContext *codec;
  371. ^~~~~
  372. consumer_avformat.c:720:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  373. avcodec_close( st->codec );
  374. ^~~~~~~~~~~~~
  375. In file included from consumer_avformat.c:37:0:
  376. /usr/include/libavformat/avformat.h:893:21: note: declared here
  377. AVCodecContext *codec;
  378. ^~~~~
  379. consumer_avformat.c: In function ‘add_video_stream’:
  380. consumer_avformat.c:737:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  381. AVCodecContext *c = st->codec;
  382. ^~~~~~~~~~~~~~
  383. In file included from consumer_avformat.c:37:0:
  384. /usr/include/libavformat/avformat.h:893:21: note: declared here
  385. AVCodecContext *codec;
  386. ^~~~~
  387. consumer_avformat.c: In function ‘alloc_picture’:
  388. consumer_avformat.c:977:2: warning: ‘avpicture_get_size’ is deprecated [-Wdeprecated-declarations]
  389. int size = avpicture_get_size(pix_fmt, width, height);
  390. ^~~
  391. producer_avformat.c: In function ‘first_video_index’:
  392. producer_avformat.c:278:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  393. if ( context->streams[i]->codec &&
  394. ^~
  395. In file included from /usr/include/libavformat/avformat.h:319:0,
  396. from consumer_avformat.c:37:
  397. /usr/include/libavcodec/avcodec.h:5468:5: note: declared here
  398. int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
  399. ^~~~~~~~~~~~~~~~~~
  400. consumer_avformat.c:986:3: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  401. avpicture_fill( (AVPicture *)picture, picture_buf, pix_fmt, width, height);
  402. ^~~~~~~~~~~~~~
  403. In file included from producer_avformat.c:30:0:
  404. /usr/include/libavformat/avformat.h:893:21: note: declared here
  405. AVCodecContext *codec;
  406. ^~~~~
  407. In file included from /usr/include/libavformat/avformat.h:319:0,
  408. from consumer_avformat.c:37:
  409. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  410. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  411. ^~~~~~~~~~~~~~
  412. producer_avformat.c:279:6: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  413. context->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO )
  414. ^~~~~~~
  415. In file included from producer_avformat.c:30:0:
  416. /usr/include/libavformat/avformat.h:893:21: note: declared here
  417. AVCodecContext *codec;
  418. ^~~~~
  419. consumer_avformat.c: In function ‘open_video’:
  420. consumer_avformat.c:1005:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  421. AVCodecContext *video_enc = st->codec;
  422. ^~~~~~~~~~~~~~
  423. In file included from consumer_avformat.c:37:0:
  424. /usr/include/libavformat/avformat.h:893:21: note: declared here
  425. AVCodecContext *codec;
  426. ^~~~~
  427. consumer_avformat.c: In function ‘close_video’:
  428. consumer_avformat.c:1052:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  429. if ( st && st->codec )
  430. ^~
  431. In file included from consumer_avformat.c:37:0:
  432. /usr/include/libavformat/avformat.h:893:21: note: declared here
  433. AVCodecContext *codec;
  434. ^~~~~
  435. consumer_avformat.c:1054:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  436. av_freep( &st->codec->stats_in );
  437. ^~~~~~~~
  438. In file included from consumer_avformat.c:37:0:
  439. /usr/include/libavformat/avformat.h:893:21: note: declared here
  440. AVCodecContext *codec;
  441. ^~~~~
  442. consumer_avformat.c:1055:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  443. avcodec_close(st->codec);
  444. ^~~~~~~~~~~~~
  445. In file included from consumer_avformat.c:37:0:
  446. /usr/include/libavformat/avformat.h:893:21: note: declared here
  447. AVCodecContext *codec;
  448. ^~~~~
  449. producer_avformat.c: In function ‘find_default_streams’:
  450. producer_avformat.c:371:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  451. AVCodecContext *codec_context = stream->codec;
  452. ^~~~~~~~~~~~~~
  453. In file included from producer_avformat.c:30:0:
  454. /usr/include/libavformat/avformat.h:893:21: note: declared here
  455. AVCodecContext *codec;
  456. ^~~~~
  457. consumer_avformat.c: In function ‘consumer_thread’:
  458. consumer_avformat.c:1322:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  459. const char *pix_fmt_name = av_get_pix_fmt_name( video_st->codec->pix_fmt );
  460. ^~~~~
  461. In file included from consumer_avformat.c:37:0:
  462. /usr/include/libavformat/avformat.h:893:21: note: declared here
  463. AVCodecContext *codec;
  464. ^~~~~
  465. consumer_avformat.c:1366:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  466. aud_fmt = get_mlt_audio_format( audio_st[0]->codec->sample_fmt );
  467. ^~~~~~~
  468. In file included from consumer_avformat.c:37:0:
  469. /usr/include/libavformat/avformat.h:893:21: note: declared here
  470. AVCodecContext *codec;
  471. ^~~~~
  472. consumer_avformat.c:1452:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  473. converted_avframe = alloc_picture( video_st->codec->pix_fmt, width, height );
  474. ^~~~~~~~~~~~~~~~~
  475. In file included from consumer_avformat.c:37:0:
  476. /usr/include/libavformat/avformat.h:893:21: note: declared here
  477. AVCodecContext *codec;
  478. ^~~~~
  479. consumer_avformat.c:1463:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  480. AVCodecContext *c = audio_st[0]->codec;
  481. ^~~~~~~~~~~~~~
  482. In file included from consumer_avformat.c:37:0:
  483. /usr/include/libavformat/avformat.h:893:21: note: declared here
  484. AVCodecContext *codec;
  485. ^~~~~
  486. consumer_avformat.c:1595:7: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  487. AVCodecContext *codec = stream->codec;
  488. ^~~~~~~~~~~~~~
  489. In file included from consumer_avformat.c:37:0:
  490. /usr/include/libavformat/avformat.h:893:21: note: declared here
  491. AVCodecContext *codec;
  492. ^~~~~
  493. producer_avformat.c: In function ‘get_basic_info’:
  494. producer_avformat.c:664:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  495. AVCodecContext *codec_context = format->streams[ self->video_index ]->codec;
  496. ^~~~~~~~~~~~~~
  497. In file included from producer_avformat.c:30:0:
  498. /usr/include/libavformat/avformat.h:893:21: note: declared here
  499. AVCodecContext *codec;
  500. ^~~~~
  501. producer_avformat.c: In function ‘setup_video_filters’:
  502. producer_avformat.c:692:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  503. AVCodecContext *codec_context = stream->codec;
  504. ^~~~~~~~~~~~~~
  505. In file included from producer_avformat.c:30:0:
  506. /usr/include/libavformat/avformat.h:893:21: note: declared here
  507. AVCodecContext *codec;
  508. ^~~~~
  509. consumer_avformat.c:1622:8: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  510. int ret = avcodec_encode_audio2( codec, &pkt, audio_avframe, &got_packet );
  511. ^~~
  512. In file included from /usr/include/libavformat/avformat.h:319:0,
  513. from consumer_avformat.c:37:
  514. /usr/include/libavcodec/avcodec.h:5284:5: note: declared here
  515. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  516. ^~~~~~~~~~~~~~~~~~~~~
  517. consumer_avformat.c:1704:8: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  518. int ret = avcodec_encode_audio2( codec, &pkt, audio_avframe, &got_packet );
  519. ^~~
  520. In file included from /usr/include/libavformat/avformat.h:319:0,
  521. from consumer_avformat.c:37:
  522. /usr/include/libavcodec/avcodec.h:5284:5: note: declared here
  523. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  524. ^~~~~~~~~~~~~~~~~~~~~
  525. consumer_avformat.c:1743:8: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  526. audio_pts = (double) sample_count[0] * av_q2d( stream->codec->time_base );
  527. ^~~~~~~~~
  528. In file included from consumer_avformat.c:37:0:
  529. /usr/include/libavformat/avformat.h:893:21: note: declared here
  530. AVCodecContext *codec;
  531. ^~~~~
  532. producer_avformat.c: In function ‘prepare_reopen’:
  533. producer_avformat.c:932:4: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  534. av_free_packet( pkt );
  535. ^~~~~~~~~~~~~~
  536. consumer_avformat.c:1761:6: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  537. AVCodecContext *c = video_st->codec;
  538. ^~~~~~~~~~~~~~
  539. In file included from consumer_avformat.c:37:0:
  540. /usr/include/libavformat/avformat.h:893:21: note: declared here
  541. AVCodecContext *codec;
  542. ^~~~~
  543. In file included from /usr/include/libavformat/avformat.h:319:0,
  544. from producer_avformat.c:30:
  545. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  546. void av_free_packet(AVPacket *pkt);
  547. ^~~~~~~~~~~~~~
  548. producer_avformat.c:942:4: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  549. av_free_packet( pkt );
  550. ^~~~~~~~~~~~~~
  551. In file included from /usr/include/libavformat/avformat.h:319:0,
  552. from producer_avformat.c:30:
  553. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  554. void av_free_packet(AVPacket *pkt);
  555. ^~~~~~~~~~~~~~
  556. producer_avformat.c: In function ‘find_first_pts’:
  557. producer_avformat.c:994:3: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  558. av_free_packet( &pkt );
  559. ^~~~~~~~~~~~~~
  560. In file included from /usr/include/libavformat/avformat.h:319:0,
  561. from producer_avformat.c:30:
  562. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  563. void av_free_packet(AVPacket *pkt);
  564. ^~~~~~~~~~~~~~
  565. producer_avformat.c: In function ‘seek_video’:
  566. producer_avformat.c:1020:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  567. AVCodecContext *codec_context = stream->codec;
  568. ^~~~~~~~~~~~~~
  569. In file included from producer_avformat.c:30:0:
  570. /usr/include/libavformat/avformat.h:893:21: note: declared here
  571. AVCodecContext *codec;
  572. ^~~~~
  573. producer_avformat.c: In function ‘get_audio_streams_info’:
  574. producer_avformat.c:1088:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  575. if ( context->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO )
  576. ^~
  577. In file included from producer_avformat.c:30:0:
  578. /usr/include/libavformat/avformat.h:893:21: note: declared here
  579. AVCodecContext *codec;
  580. ^~~~~
  581. producer_avformat.c:1090:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  582. AVCodecContext *codec_context = context->streams[i]->codec;
  583. ^~~~~~~~~~~~~~
  584. In file included from producer_avformat.c:30:0:
  585. /usr/include/libavformat/avformat.h:893:21: note: declared here
  586. AVCodecContext *codec;
  587. ^~~~~
  588. consumer_avformat.c:1882:7: warning: ‘avcodec_encode_video2’ is deprecated [-Wdeprecated-declarations]
  589. ret = avcodec_encode_video2( c, &pkt, converted_avframe, &got_packet );
  590. ^~~
  591. In file included from /usr/include/libavformat/avformat.h:319:0,
  592. from consumer_avformat.c:37:
  593. /usr/include/libavcodec/avcodec.h:5323:5: note: declared here
  594. int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
  595. ^~~~~~~~~~~~~~~~~~~~~
  596. producer_avformat.c: In function ‘convert_image’:
  597. producer_avformat.c:1297:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  598. output.data[0] = buffer;
  599. ^~~~~~
  600. In file included from /usr/include/libavformat/avformat.h:319:0,
  601. from producer_avformat.c:30:
  602. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  603. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  604. ^~~~
  605. producer_avformat.c:1298:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  606. output.data[1] = buffer + width * height;
  607. ^~~~~~
  608. In file included from /usr/include/libavformat/avformat.h:319:0,
  609. from producer_avformat.c:30:
  610. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  611. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  612. ^~~~
  613. producer_avformat.c:1299:3: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  614. output.data[2] = buffer + ( 5 * width * height ) / 4;
  615. ^~~~~~
  616. In file included from /usr/include/libavformat/avformat.h:319:0,
  617. from producer_avformat.c:30:
  618. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  619. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  620. ^~~~
  621. producer_avformat.c:1300:3: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  622. output.linesize[0] = width;
  623. ^~~~~~
  624. In file included from /usr/include/libavformat/avformat.h:319:0,
  625. from producer_avformat.c:30:
  626. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  627. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  628. ^~~~~~~~
  629. producer_avformat.c:1301:3: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  630. output.linesize[1] = width >> 1;
  631. ^~~~~~
  632. In file included from /usr/include/libavformat/avformat.h:319:0,
  633. from producer_avformat.c:30:
  634. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  635. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  636. ^~~~~~~~
  637. producer_avformat.c:1302:3: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  638. output.linesize[2] = width >> 1;
  639. ^~~~~~
  640. In file included from /usr/include/libavformat/avformat.h:319:0,
  641. from producer_avformat.c:30:
  642. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  643. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  644. ^~~~~~~~
  645. producer_avformat.c:1306:4: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  646. output.data, output.linesize);
  647. ^~~~~~
  648. In file included from /usr/include/libavformat/avformat.h:319:0,
  649. from producer_avformat.c:30:
  650. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  651. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  652. ^~~~
  653. producer_avformat.c:1306:4: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  654. output.data, output.linesize);
  655. ^~~~~~
  656. In file included from /usr/include/libavformat/avformat.h:319:0,
  657. from producer_avformat.c:30:
  658. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  659. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  660. ^~~~~~~~
  661. producer_avformat.c:1314:3: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  662. avpicture_fill( &output, buffer, AV_PIX_FMT_RGB24, width, height );
  663. ^~~~~~~~~~~~~~
  664. In file included from /usr/include/libavformat/avformat.h:319:0,
  665. from producer_avformat.c:30:
  666. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  667. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  668. ^~~~~~~~~~~~~~
  669. consumer_avformat.c:1925:6: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  670. video_pts = (double) frame_count * av_q2d( video_st->codec->time_base );
  671. ^~~~~~~~~
  672. In file included from consumer_avformat.c:37:0:
  673. /usr/include/libavformat/avformat.h:893:21: note: declared here
  674. AVCodecContext *codec;
  675. ^~~~~
  676. producer_avformat.c:1318:4: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  677. output.data, output.linesize);
  678. ^~~~~~
  679. In file included from /usr/include/libavformat/avformat.h:319:0,
  680. from producer_avformat.c:30:
  681. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  682. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  683. ^~~~
  684. producer_avformat.c:1318:4: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  685. output.data, output.linesize);
  686. ^~~~~~
  687. In file included from /usr/include/libavformat/avformat.h:319:0,
  688. from producer_avformat.c:30:
  689. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  690. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  691. ^~~~~~~~
  692. producer_avformat.c:1326:3: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  693. avpicture_fill( &output, buffer, AV_PIX_FMT_RGBA, width, height );
  694. ^~~~~~~~~~~~~~
  695. In file included from /usr/include/libavformat/avformat.h:319:0,
  696. from producer_avformat.c:30:
  697. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  698. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  699. ^~~~~~~~~~~~~~
  700. producer_avformat.c:1330:4: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  701. output.data, output.linesize);
  702. ^~~~~~
  703. In file included from /usr/include/libavformat/avformat.h:319:0,
  704. from producer_avformat.c:30:
  705. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  706. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  707. ^~~~
  708. producer_avformat.c:1330:4: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  709. output.data, output.linesize);
  710. ^~~~~~
  711. In file included from /usr/include/libavformat/avformat.h:319:0,
  712. from producer_avformat.c:30:
  713. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  714. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  715. ^~~~~~~~
  716. producer_avformat.c:1343:3: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
  717. avpicture_fill( &output, buffer, AV_PIX_FMT_YUYV422, width, height );
  718. ^~~~~~~~~~~~~~
  719. In file included from /usr/include/libavformat/avformat.h:319:0,
  720. from producer_avformat.c:30:
  721. /usr/include/libavcodec/avcodec.h:5453:5: note: declared here
  722. int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
  723. ^~~~~~~~~~~~~~
  724. consumer_avformat.c:1972:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  725. if ( audio_st[0] && audio_st[0]->codec->frame_size > 1 ) for (;;)
  726. ^~
  727. In file included from consumer_avformat.c:37:0:
  728. /usr/include/libavformat/avformat.h:893:21: note: declared here
  729. AVCodecContext *codec;
  730. ^~~~~
  731. consumer_avformat.c:1974:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  732. AVCodecContext *c = audio_st[0]->codec;
  733. ^~~~~~~~~~~~~~
  734. producer_avformat.c:1347:4: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  735. output.data, output.linesize);
  736. ^~~~~~
  737. In file included from consumer_avformat.c:37:0:
  738. /usr/include/libavformat/avformat.h:893:21: note: declared here
  739. AVCodecContext *codec;
  740. ^~~~~
  741. In file included from /usr/include/libavformat/avformat.h:319:0,
  742. from producer_avformat.c:30:
  743. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  744. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  745. ^~~~
  746. producer_avformat.c:1347:4: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  747. output.data, output.linesize);
  748. ^~~~~~
  749. In file included from /usr/include/libavformat/avformat.h:319:0,
  750. from producer_avformat.c:30:
  751. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  752. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  753. ^~~~~~~~
  754. producer_avformat.c: In function ‘producer_get_image’:
  755. consumer_avformat.c:2003:5: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  756. int ret = avcodec_encode_audio2( c, &pkt, audio_avframe, &got_packet );
  757. ^~~
  758. In file included from /usr/include/libavformat/avformat.h:319:0,
  759. from consumer_avformat.c:37:
  760. /usr/include/libavcodec/avcodec.h:5284:5: note: declared here
  761. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  762. ^~~~~~~~~~~~~~~~~~~~~
  763. producer_avformat.c:1428:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  764. AVCodecContext *codec_context = stream->codec;
  765. ^~~~~~~~~~~~~~
  766. In file included from producer_avformat.c:30:0:
  767. /usr/include/libavformat/avformat.h:893:21: note: declared here
  768. AVCodecContext *codec;
  769. ^~~~~
  770. consumer_avformat.c:2018:6: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  771. int ret = avcodec_encode_audio2( c, &pkt, NULL, &got_packet );
  772. ^~~
  773. In file included from /usr/include/libavformat/avformat.h:319:0,
  774. from consumer_avformat.c:37:
  775. /usr/include/libavcodec/avcodec.h:5284:5: note: declared here
  776. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  777. ^~~~~~~~~~~~~~~~~~~~~
  778. producer_avformat.c:1498:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  779. codec_context = stream->codec;
  780. ^~~~~~~~~~~~~
  781. In file included from producer_avformat.c:30:0:
  782. /usr/include/libavformat/avformat.h:893:21: note: declared here
  783. AVCodecContext *codec;
  784. ^~~~~
  785. consumer_avformat.c:2049:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  786. AVCodecContext *c = video_st->codec;
  787. ^~~~~~~~~~~~~~
  788. In file included from consumer_avformat.c:37:0:
  789. /usr/include/libavformat/avformat.h:893:21: note: declared here
  790. AVCodecContext *codec;
  791. ^~~~~
  792. consumer_avformat.c:2063:4: warning: ‘avcodec_encode_video2’ is deprecated [-Wdeprecated-declarations]
  793. int ret = avcodec_encode_video2( c, &pkt, NULL, &got_packet );
  794. ^~~
  795. In file included from /usr/include/libavformat/avformat.h:319:0,
  796. from consumer_avformat.c:37:
  797. /usr/include/libavcodec/avcodec.h:5323:5: note: declared here
  798. int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
  799. ^~~~~~~~~~~~~~~~~~~~~
  800. producer_avformat.c:1527:5: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  801. picture.data[0] = self->vdpau->buffer;
  802. ^~~~~~~
  803. In file included from /usr/include/libavformat/avformat.h:319:0,
  804. from producer_avformat.c:30:
  805. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  806. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  807. ^~~~
  808. producer_avformat.c:1528:5: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  809. picture.data[2] = self->vdpau->buffer + codec_context->width * codec_context->height;
  810. ^~~~~~~
  811. In file included from /usr/include/libavformat/avformat.h:319:0,
  812. from producer_avformat.c:30:
  813. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  814. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  815. ^~~~
  816. producer_avformat.c:1529:5: warning: ‘data’ is deprecated [-Wdeprecated-declarations]
  817. picture.data[1] = self->vdpau->buffer + codec_context->width * codec_context->height * 5 / 4;
  818. ^~~~~~~
  819. In file included from /usr/include/libavformat/avformat.h:319:0,
  820. from producer_avformat.c:30:
  821. /usr/include/libavcodec/avcodec.h:3892:14: note: declared here
  822. uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
  823. ^~~~
  824. producer_avformat.c:1530:5: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  825. picture.linesize[0] = codec_context->width;
  826. ^~~~~~~
  827. In file included from /usr/include/libavformat/avformat.h:319:0,
  828. from producer_avformat.c:30:
  829. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  830. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  831. ^~~~~~~~
  832. producer_avformat.c:1531:5: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  833. picture.linesize[1] = codec_context->width / 2;
  834. ^~~~~~~
  835. In file included from /usr/include/libavformat/avformat.h:319:0,
  836. from producer_avformat.c:30:
  837. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  838. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  839. ^~~~~~~~
  840. producer_avformat.c:1532:5: warning: ‘linesize’ is deprecated [-Wdeprecated-declarations]
  841. picture.linesize[2] = codec_context->width / 2;
  842. ^~~~~~~
  843. In file included from /usr/include/libavformat/avformat.h:319:0,
  844. from producer_avformat.c:30:
  845. /usr/include/libavcodec/avcodec.h:3894:9: note: declared here
  846. int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
  847. ^~~~~~~~
  848. producer_avformat.c:1562:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  849. av_free_packet( &self->pkt );
  850. ^~~~~~~~~~~~~~
  851. In file included from /usr/include/libavformat/avformat.h:319:0,
  852. from producer_avformat.c:30:
  853. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  854. void av_free_packet(AVPacket *pkt);
  855. ^~~~~~~~~~~~~~
  856. producer_avformat.c:1576:6: warning: ‘av_dup_packet’ is deprecated [-Wdeprecated-declarations]
  857. if ( !av_dup_packet( &self->pkt ) )
  858. ^~
  859. In file included from /usr/include/libavformat/avformat.h:319:0,
  860. from producer_avformat.c:30:
  861. /usr/include/libavcodec/avcodec.h:4450:5: note: declared here
  862. int av_dup_packet(AVPacket *pkt);
  863. ^~~~~~~~~~~~~
  864. producer_avformat.c:1651:6: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations]
  865. ret = avcodec_decode_video2( codec_context, self->video_frame, &got_picture, &self->pkt );
  866. ^~~
  867. In file included from /usr/include/libavformat/avformat.h:319:0,
  868. from producer_avformat.c:30:
  869. /usr/include/libavcodec/avcodec.h:4812:5: note: declared here
  870. int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
  871. ^~~~~~~~~~~~~~~~~~~~~
  872. producer_avformat.c:1673:6: warning: ‘pkt_pts’ is deprecated [-Wdeprecated-declarations]
  873. pts = best_pts( self, self->video_frame->pkt_pts, self->video_frame->pkt_dts );
  874. ^~~
  875. In file included from /usr/include/libavcodec/avcodec.h:38:0,
  876. from /usr/include/libavformat/avformat.h:319,
  877. from producer_avformat.c:30:
  878. /usr/include/libavutil/frame.h:276:13: note: declared here
  879. int64_t pkt_pts;
  880. ^~~~~~~
  881. producer_avformat.c:1775:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  882. av_free_packet( &self->pkt );
  883. ^~~~~~~~~~~~~~
  884. In file included from /usr/include/libavformat/avformat.h:319:0,
  885. from producer_avformat.c:30:
  886. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  887. void av_free_packet(AVPacket *pkt);
  888. ^~~~~~~~~~~~~~
  889. producer_avformat.c: In function ‘video_codec_init’:
  890. producer_avformat.c:1875:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  891. AVCodecContext *codec_context = stream->codec;
  892. ^~~~~~~~~~~~~~
  893. In file included from producer_avformat.c:30:0:
  894. /usr/include/libavformat/avformat.h:893:21: note: declared here
  895. AVCodecContext *codec;
  896. ^~~~~
  897. producer_avformat.c: In function ‘producer_set_up_video’:
  898. producer_avformat.c:2072:6: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  899. index >= 0 && context->streams[ index ]->codec->codec_type != AVMEDIA_TYPE_VIDEO;
  900. ^~~~~
  901. In file included from producer_avformat.c:30:0:
  902. /usr/include/libavformat/avformat.h:893:21: note: declared here
  903. AVCodecContext *codec;
  904. ^~~~~
  905. producer_avformat.c:2076:2: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  906. if ( context && index > -1 && context->streams[ index ]->codec->codec_type != AVMEDIA_TYPE_VIDEO )
  907. ^~
  908. In file included from producer_avformat.c:30:0:
  909. /usr/include/libavformat/avformat.h:893:21: note: declared here
  910. AVCodecContext *codec;
  911. ^~~~~
  912. producer_avformat.c: In function ‘decode_audio’:
  913. producer_avformat.c:2271:3: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
  914. ret = avcodec_decode_audio4( codec_context, self->audio_frame, &data_size, &pkt );
  915. ^~~
  916. In file included from /usr/include/libavformat/avformat.h:319:0,
  917. from producer_avformat.c:30:
  918. /usr/include/libavcodec/avcodec.h:4763:5: note: declared here
  919. int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
  920. ^~~~~~~~~~~~~~~~~~~~~
  921. producer_avformat.c: In function ‘producer_get_audio’:
  922. producer_avformat.c:2488:6: warning: ‘av_dup_packet’ is deprecated [-Wdeprecated-declarations]
  923. if ( !av_dup_packet( &pkt ) )
  924. ^~
  925. In file included from /usr/include/libavformat/avformat.h:319:0,
  926. from producer_avformat.c:30:
  927. /usr/include/libavcodec/avcodec.h:4450:5: note: declared here
  928. int av_dup_packet(AVPacket *pkt);
  929. ^~~~~~~~~~~~~
  930. producer_avformat.c:2521:6: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  931. ( self->audio_index == INT_MAX && context->streams[ index ]->codec->codec_type == AVMEDIA_TYPE_AUDIO ) ) )
  932. ^
  933. In file included from producer_avformat.c:30:0:
  934. /usr/include/libavformat/avformat.h:893:21: note: declared here
  935. AVCodecContext *codec;
  936. ^~~~~
  937. producer_avformat.c:2527:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  938. av_free_packet( &pkt );
  939. ^~~~~~~~~~~~~~
  940. In file included from /usr/include/libavformat/avformat.h:319:0,
  941. from producer_avformat.c:30:
  942. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  943. void av_free_packet(AVPacket *pkt);
  944. ^~~~~~~~~~~~~~
  945. producer_avformat.c: In function ‘audio_codec_init’:
  946. producer_avformat.c:2634:3: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  947. AVCodecContext *codec_context = self->audio_format->streams[index]->codec;
  948. ^~~~~~~~~~~~~~
  949. In file included from producer_avformat.c:30:0:
  950. /usr/include/libavformat/avformat.h:893:21: note: declared here
  951. AVCodecContext *codec;
  952. ^~~~~
  953. producer_avformat.c: In function ‘producer_set_up_audio’:
  954. producer_avformat.c:2701:6: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  955. index >= 0 && context->streams[ index ]->codec->codec_type != AVMEDIA_TYPE_AUDIO;
  956. ^~~~~
  957. In file included from producer_avformat.c:30:0:
  958. /usr/include/libavformat/avformat.h:893:21: note: declared here
  959. AVCodecContext *codec;
  960. ^~~~~
  961. producer_avformat.c:2706:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  962. context->streams[ index ]->codec->codec_type != AVMEDIA_TYPE_AUDIO )
  963. ^~~~~~~
  964. In file included from producer_avformat.c:30:0:
  965. /usr/include/libavformat/avformat.h:893:21: note: declared here
  966. AVCodecContext *codec;
  967. ^~~~~
  968. producer_avformat.c:2712:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  969. pick_audio_format( context->streams[ index ]->codec->sample_fmt ) == mlt_audio_none )
  970. ^~~~~~~~~~~~~~~~~
  971. In file included from producer_avformat.c:30:0:
  972. /usr/include/libavformat/avformat.h:893:21: note: declared here
  973. AVCodecContext *codec;
  974. ^~~~~
  975. producer_avformat.c:2738:4: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  976. if ( context->streams[ index ]->codec->codec_type == AVMEDIA_TYPE_AUDIO )
  977. ^~
  978. In file included from producer_avformat.c:30:0:
  979. /usr/include/libavformat/avformat.h:893:21: note: declared here
  980. AVCodecContext *codec;
  981. ^~~~~
  982. producer_avformat.c: In function ‘producer_avformat_close’:
  983. producer_avformat.c:2813:2: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  984. av_free_packet( &self->pkt );
  985. ^~~~~~~~~~~~~~
  986. In file included from /usr/include/libavformat/avformat.h:319:0,
  987. from producer_avformat.c:30:
  988. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  989. void av_free_packet(AVPacket *pkt);
  990. ^~~~~~~~~~~~~~
  991. producer_avformat.c:2866:4: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  992. av_free_packet( pkt );
  993. ^~~~~~~~~~~~~~
  994. In file included from /usr/include/libavformat/avformat.h:319:0,
  995. from producer_avformat.c:30:
  996. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  997. void av_free_packet(AVPacket *pkt);
  998. ^~~~~~~~~~~~~~
  999. producer_avformat.c:2876:4: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
  1000. av_free_packet( pkt );
  1001. ^~~~~~~~~~~~~~
  1002. In file included from /usr/include/libavformat/avformat.h:319:0,
  1003. from producer_avformat.c:30:
  1004. /usr/include/libavcodec/avcodec.h:4473:6: note: declared here
  1005. void av_free_packet(AVPacket *pkt);
  1006. ^~~~~~~~~~~~~~
  1007. make[2]: *** [<builtin>: producer_avformat.o] Error 1
  1008. make[2]: *** Waiting for unfinished jobs....
  1009. make[2]: Leaving directory '/tmp/portage/media-libs/mlt-6.4.1/work/mlt-6.4.1/src/modules/avformat'
  1010. make[1]: *** [Makefile:5: all] Error 1
  1011. make[1]: Leaving directory '/tmp/portage/media-libs/mlt-6.4.1/work/mlt-6.4.1/src/modules'
  1012. make: *** [Makefile:9: all] Error 1
  1013. * ERROR: media-libs/mlt-6.4.1::gentoo failed (compile phase):
  1014. * emake failed
  1015. *
  1016. * If you need support, post the output of `emerge --info '=media-libs/mlt-6.4.1::gentoo'`,
  1017. * the complete build log and the output of `emerge -pqv '=media-libs/mlt-6.4.1::gentoo'`.
  1018. * The complete build log is located at '/tmp/portage/media-libs/mlt-6.4.1/temp/build.log'.
  1019. * The ebuild environment file is located at '/tmp/portage/media-libs/mlt-6.4.1/temp/environment'.
  1020. * Working directory: '/tmp/portage/media-libs/mlt-6.4.1/work/mlt-6.4.1'
  1021. * S: '/tmp/portage/media-libs/mlt-6.4.1/work/mlt-6.4.1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement