[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004794: bs1770gain: FTBFS with ffmpeg 5.0



Source: bs1770gain
Version: 0.8.3-2.1
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

bs1770gain FTBFS with ffmpeg 5.0 in experimental:

gcc -DHAVE_CONFIG_H -I. -I..  -I../libpbutil -I../lib1770-2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -Wstrict-prototypes -Wextra -Wreturn-type -Wcast-qual -Wcast-align -Wpointer-arith -Wformat -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ff_printer.o ff_printer.c
In file included from ff_analyzer.c:22:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
ff_analyzer.c: In function ‘ff_analyzer_send_packet’:
ff_analyzer.c:347:11: warning: implicit declaration of function ‘avcodec_send_packet’; did you mean ‘av_append_packet’? [-Wimplicit-function-declaration]
  347 |       err=avcodec_send_packet(a->in->audio.ctx,pkt);
      |           ^~~~~~~~~~~~~~~~~~~
      |           av_append_packet
ff_analyzer.c:371:11: warning: implicit declaration of function ‘avcodec_receive_frame’; did you mean ‘ff_fifo_receive_frame’? [-Wimplicit-function-declaration]
  371 |       err=avcodec_receive_frame(a->in->audio.ctx,a->frame);
      |           ^~~~~~~~~~~~~~~~~~~~~
      |           ff_fifo_receive_frame
In file included from ff_muxer.c:22:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
ff_muxer.c: In function ‘ff_muxer_mux_audio_frame’:
ff_muxer.c:123:38: error: request for member ‘time_base’ in something not a structure or union
  123 |   av_packet_rescale_ts(pkt,audio->ctx->time_base,ostream->time_base);
      |                                      ^~
ff_muxer.c: In function ‘ff_muxer_send_packet’:
ff_muxer.c:218:11: warning: implicit declaration of function ‘avcodec_send_packet’ [-Wimplicit-function-declaration]
  218 |       err=avcodec_send_packet(m->in->audio.ctx,pkt);
      |           ^~~~~~~~~~~~~~~~~~~
ff_muxer.c:239:11: warning: implicit declaration of function ‘avcodec_receive_frame’; did you mean ‘ff_fifo_receive_frame’? [-Wimplicit-function-declaration]
  239 |       err=avcodec_receive_frame(m->in->audio.ctx,m->frame);
      |           ^~~~~~~~~~~~~~~~~~~~~
      |           ff_fifo_receive_frame
ff_muxer.c:319:11: warning: implicit declaration of function ‘avcodec_send_frame’; did you mean ‘avcodec_get_name’? [-Wimplicit-function-declaration]
  319 |       err=avcodec_send_frame(m->out->audio.ctx,frame);
      |           ^~~~~~~~~~~~~~~~~~
      |           avcodec_get_name
ff_muxer.c:344:11: warning: implicit declaration of function ‘avcodec_receive_packet’ [-Wimplicit-function-declaration]
  344 |       err=avcodec_receive_packet(m->out->audio.ctx,m->pkt);
      |           ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:380: ff_muxer.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ff_fifo.c:22:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
make[3]: *** [Makefile:380: ff_analyzer.o] Error 1
In file included from ff_printer.c:22:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
make[3]: *** [Makefile:380: ff_printer.o] Error 1
In file included from ff_resampler.c:22:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
In file included from ff_filter.c:25:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
ff_filter.c: In function ‘ff_filter_create’:
ff_filter.c:211:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  211 |   ocodec=avcodec_find_encoder(ocodecpar->codec_id);
      |         ^
make[3]: *** [Makefile:380: ff_filter.o] Error 1
make[3]: *** [Makefile:380: ff_fifo.o] Error 1
In file included from ff_inout.c:22:
./ff.h:425:3: error: unknown type name ‘AVCodecContext’
  425 |   AVCodecContext *ctx;
      |   ^~~~~~~~~~~~~~
make[3]: *** [Makefile:380: ff_inout.o] Error 1


Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: