Source: gmerlin-avdecoder Version: 1.2.0~dfsg-11 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
gmerlin-avdecoder FTBFS with ffmpeg 5.0 (available in experimental): | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -D__BGAV__ -fvisibility=hidden -march=nocona -mtune=nocona -O3 -funroll-all-loops -ffast-math -I/usr/include -I/usr/include -I/usr/include/mpeg2dec -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c demux_ffmpeg.c -fPIC -DPIC -o .libs/demux_ffmpeg.o | demux_ffmpeg.c: In function ‘get_format’: | demux_ffmpeg.c:187:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 187 | return av_probe_input_format(&avpd, 1); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | demux_ffmpeg.c: In function ‘probe_ffmpeg’: | demux_ffmpeg.c:194:3: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration] | 194 | av_register_all(); | | ^~~~~~~~~~~~~~~ | demux_ffmpeg.c: In function ‘init_audio_stream’: | demux_ffmpeg.c:510:3: error: unknown type name ‘AVCodecContext’; use ‘struct’ keyword to refer to the type | 510 | AVCodecContext *codec= st->codec; | | ^~~~~~~~~~~~~~ | | struct | demux_ffmpeg.c:510:28: error: ‘AVStream’ has no member named ‘codec’ | 510 | AVCodecContext *codec= st->codec; | | ^~ | demux_ffmpeg.c:515:33: error: ‘AVStream’ has no member named ‘codec’ | 515 | if((audio_codecs[i].id == st->codec->codec_id) && | | ^~ | demux_ffmpeg.c:517:41: error: ‘AVStream’ has no member named ‘codec’ | 517 | (audio_codecs[i].codec_tag == st->codec->codec_tag))) | | ^~ | demux_ffmpeg.c:537:42: error: request for member ‘bits_per_coded_sample’ in something not a structure or union | 537 | s->data.audio.bits_per_sample = codec->bits_per_coded_sample; | | ^~ | demux_ffmpeg.c:540:36: error: request for member ‘block_align’ in something not a structure or union | 540 | s->data.audio.block_align = codec->block_align; | | ^~ | demux_ffmpeg.c:544:62: error: request for member ‘channels’ in something not a structure or union | 544 | s->data.audio.block_align = ((map->bits + 7) / 8) * codec->channels; | | ^~ | demux_ffmpeg.c:549:44: error: request for member ‘channels’ in something not a structure or union | 549 | s->data.audio.format.num_channels = codec->channels; | | ^~ | demux_ffmpeg.c:550:42: error: request for member ‘sample_rate’ in something not a structure or union | 550 | s->data.audio.format.samplerate = codec->sample_rate; | | ^~ | demux_ffmpeg.c:552:37: error: request for member ‘extradata’ in something not a structure or union | 552 | bgav_stream_set_extradata(s, codec->extradata, codec->extradata_size); | | ^~ | demux_ffmpeg.c:552:55: error: request for member ‘extradata_size’ in something not a structure or union | 552 | bgav_stream_set_extradata(s, codec->extradata, codec->extradata_size); | | ^~ | demux_ffmpeg.c:554:31: error: request for member ‘bit_rate’ in something not a structure or union | 554 | s->container_bitrate = codec->bit_rate; | | ^~ | demux_ffmpeg.c: In function ‘init_video_stream’: | demux_ffmpeg.c:566:3: error: unknown type name ‘AVCodecContext’; use ‘struct’ keyword to refer to the type | 566 | AVCodecContext *codec= st->codec; | | ^~~~~~~~~~~~~~ | | struct | demux_ffmpeg.c:566:28: error: ‘AVStream’ has no member named ‘codec’ | 566 | AVCodecContext *codec= st->codec; | | ^~ | demux_ffmpeg.c:569:9: error: ‘AVStream’ has no member named ‘codec’ | 569 | ((st->codec->codec_tag & 0x000000ff) << 24) | | | ^~ | demux_ffmpeg.c:570:9: error: ‘AVStream’ has no member named ‘codec’ | 570 | ((st->codec->codec_tag & 0x0000ff00) << 8) | | | ^~ | demux_ffmpeg.c:571:9: error: ‘AVStream’ has no member named ‘codec’ | 571 | ((st->codec->codec_tag & 0x00ff0000) >> 8) | | | ^~ | demux_ffmpeg.c:572:9: error: ‘AVStream’ has no member named ‘codec’ | 572 | ((st->codec->codec_tag & 0xff000000) >> 24); | | ^~ | demux_ffmpeg.c:585:34: error: ‘AVStream’ has no member named ‘codec’ | 585 | if(video_codecs[i].id == st->codec->codec_id) | | ^~ | demux_ffmpeg.c:600:43: error: request for member ‘width’ in something not a structure or union | 600 | s->data.video.format.image_width = codec->width; | | ^~ | demux_ffmpeg.c:601:44: error: request for member ‘height’ in something not a structure or union | 601 | s->data.video.format.image_height = codec->height; | | ^~ | demux_ffmpeg.c:602:43: error: request for member ‘width’ in something not a structure or union | 602 | s->data.video.format.frame_width = codec->width; | | ^~ | demux_ffmpeg.c:603:44: error: request for member ‘height’ in something not a structure or union | 603 | s->data.video.format.frame_height = codec->height; | | ^~ | demux_ffmpeg.c:605:11: error: request for member ‘time_base’ in something not a structure or union | 605 | if(codec->time_base.den && codec->time_base.num) | | ^~ | demux_ffmpeg.c:605:35: error: request for member ‘time_base’ in something not a structure or union | 605 | if(codec->time_base.den && codec->time_base.num) | | ^~ | demux_ffmpeg.c:607:48: error: request for member ‘time_base’ in something not a structure or union | 607 | s->data.video.format.timescale = codec->time_base.den; | | ^~ | demux_ffmpeg.c:608:48: error: request for member ‘time_base’ in something not a structure or union | 608 | s->data.video.format.frame_duration = codec->time_base.num; | | ^~ | demux_ffmpeg.c:613:43: error: request for member ‘sample_aspect_ratio’ in something not a structure or union | 613 | s->data.video.format.pixel_width = codec->sample_aspect_ratio.num; | | ^~ | demux_ffmpeg.c:614:44: error: request for member ‘sample_aspect_ratio’ in something not a structure or union | 614 | s->data.video.format.pixel_height = codec->sample_aspect_ratio.den; | | ^~ | demux_ffmpeg.c:620:30: error: request for member ‘bits_per_coded_sample’ in something not a structure or union | 620 | s->data.video.depth = codec->bits_per_coded_sample; | | ^~ | demux_ffmpeg.c:622:37: error: request for member ‘extradata’ in something not a structure or union | 622 | bgav_stream_set_extradata(s, codec->extradata, codec->extradata_size); | | ^~ | demux_ffmpeg.c:622:55: error: request for member ‘extradata_size’ in something not a structure or union | 622 | bgav_stream_set_extradata(s, codec->extradata, codec->extradata_size); | | ^~ | demux_ffmpeg.c:624:31: error: request for member ‘bit_rate’ in something not a structure or union | 624 | s->container_bitrate = codec->bit_rate; | | ^~ | demux_ffmpeg.c: In function ‘open_ffmpeg’: | demux_ffmpeg.c:727:28: error: ‘AVStream’ has no member named ‘codec’ | 727 | switch(avfc->streams[i]->codec->codec_type) | | ^~ | demux_ffmpeg.c: In function ‘next_packet_ffmpeg’: | demux_ffmpeg.c:844:5: warning: implicit declaration of function ‘av_free_packet’; did you mean ‘av_get_packet’? [-Wimplicit-function-declaration] | 844 | av_free_packet(&pkt); | | ^~~~~~~~~~~~~~ | | av_get_packet | demux_ffmpeg.c:872:50: warning: passing argument 3 of ‘av_packet_get_side_data’ from incompatible pointer type [-Wincompatible-pointer-types] | 872 | &pal_i_len)) | | ^~~~~~~~~~ | | | | | int * | In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:316, | from demux_ffmpeg.c:26: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:598:42: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’ | 598 | size_t *size); | | ~~~~~~~~^~~~ | make[3]: *** [Makefile:1587: demux_ffmpeg.lo] Error 1 Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature