Source: renpy
Version: 8.2.2+dfsg-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=renpy&ver=8.2.2%2Bdfsg-1%2Bb2

...
ffmedia.c:108:9: error: passing argument 6 of ‘avio_alloc_context’ from 
incompatible pointer type [-Wincompatible-pointer-types]
  108 |         rwops_write,
      |         ^~~~~~~~~~~
      |         |
      |         int (*)(void *, uint8_t *, int) {aka int (*)(void *, unsigned 
char *, int)}
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:319,
                 from ffmedia.c:2:
/usr/include/x86_64-linux-gnu/libavformat/avio.h:404:25: note: expected ‘int 
(*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, 
int)’} but argument is of type ‘int (*)(void *, uint8_t *, int)’ {aka ‘int 
(*)(void *, unsigned char *, int)’}
  404 |                   int (*write_packet)(void *opaque, const uint8_t *buf, 
int buf_size),
      |                   
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
ffmedia.c: In function ‘decode_audio’:
ffmedia.c:693:30: error: ‘AVFrame’ has no member named ‘channel_layout’; did 
you mean ‘ch_layout’?
  693 |             converted_frame->channel_layout = AV_CH_LAYOUT_STEREO;
      |                              ^~~~~~~~~~~~~~
      |                              ch_layout
ffmedia.c:696:54: error: ‘AVFrame’ has no member named ‘channel_layout’; did 
you mean ‘ch_layout’?
  696 |                         if (!ms->audio_decode_frame->channel_layout) {
      |                                                      ^~~~~~~~~~~~~~
      |                                                      ch_layout
ffmedia.c:697:57: error: ‘AVFrame’ has no member named ‘channel_layout’; did 
you mean ‘ch_layout’?
  697 |                                 ms->audio_decode_frame->channel_layout 
= av_get_default_channel_layout(ms->audio_decode_frame->channels);
      |                                                         ^~~~~~~~~~~~~~
      |                                                         ch_layout
ffmedia.c:697:74: error: implicit declaration of function 
‘av_get_default_channel_layout’ [-Wimplicit-function-declaration]
  697 |                                 ms->audio_decode_frame->channel_layout 
= av_get_default_channel_layout(ms->audio_decode_frame->channels);
      |                                                                         
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ffmedia.c:697:126: error: ‘AVFrame’ has no member named ‘channels’
  697 |                                 ms->audio_decode_frame->channel_layout 
= av_get_default_channel_layout(ms->audio_decode_frame->channels);
      |                                                                         
                                                     ^~
ffmedia.c:699:80: error: ‘AVFrame’ has no member named ‘channels’
  699 |                                 if (audio_equal_mono && 
(ms->audio_decode_frame->channels == 1)) {
      |                                                                         
       ^~
ffmedia.c:700:37: error: implicit declaration of function ‘swr_alloc_set_opts’; 
did you mean ‘swr_alloc_set_opts2’? [-Wimplicit-function-declaration]
  700 |                                     swr_alloc_set_opts(
      |                                     ^~~~~~~~~~~~~~~~~~
      |                                     swr_alloc_set_opts2
ffmedia.c:702:42: error: ‘AVFrame’ has no member named ‘channel_layout’; did 
you mean ‘ch_layout’?
  702 |                         converted_frame->channel_layout,
      |                                          ^~~~~~~~~~~~~~
      |                                          ch_layout
ffmedia.c:705:49: error: ‘AVFrame’ has no member named ‘channel_layout’; did 
you mean ‘ch_layout’?
  705 |                         ms->audio_decode_frame->channel_layout,
      |                                                 ^~~~~~~~~~~~~~
      |                                                 ch_layout
...

Reply via email to