Source: info-beamer
Version: 1.0~pre3+dfsg-0.2
Severity: important
X-Debbugs-Cc: [email protected]
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

info-beamer FTBFS with ffmpeg 5.0 in experimental:

cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-Wformat -Werror=format-security -DVERSION='"1.0pre3"' -I/usr/include/lua5.1 
-I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o video.o video.c
video.c: In function ‘video_open’:
video.c:91:46: error: ‘AVStream’ has no member named ‘codec’
   91 |         if (video->format_context->streams[i]->codec->codec_type == 
AVMEDIA_TYPE_VIDEO) {
      |                                              ^~
video.c:103:34: error: ‘AVStream’ has no member named ‘codec’
  103 |     video->codec_context = stream->codec;
      |                                  ^~
video.c:104:18: warning: assignment discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
  104 |     video->codec = avcodec_find_decoder(video->codec_context->codec_id);
      |                  ^
video.c:155:31: warning: implicit declaration of function ‘avpicture_get_size’ 
[-Wimplicit-function-declaration]
  155 |     video->buffer = av_malloc(avpicture_get_size(
      |                               ^~~~~~~~~~~~~~~~~~
video.c:162:5: warning: implicit declaration of function ‘avpicture_fill’ 
[-Wimplicit-function-declaration]
  162 |     avpicture_fill(
      |     ^~~~~~~~~~~~~~
video.c:163:10: error: ‘AVPicture’ undeclared (first use in this function); did 
you mean ‘AVPictureType’?
  163 |         (AVPicture *) video->scaled_frame,
      |          ^~~~~~~~~
      |          AVPictureType
video.c:163:10: note: each undeclared identifier is reported only once for each 
function it appears in
video.c:163:21: error: expected expression before ‘)’ token
  163 |         (AVPicture *) video->scaled_frame,
      |                     ^
video.c: In function ‘video_next_frame’:
video.c:199:5: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
  199 |     av_init_packet(&packet);
      |     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from video.c:35:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
video.c:206:9: warning: implicit declaration of function ‘av_free_packet’; did 
you mean ‘av_get_packet’? [-Wimplicit-function-declaration]
  206 |         av_free_packet(&packet);
      |         ^~~~~~~~~~~~~~
      |         av_get_packet
video.c:219:5: warning: implicit declaration of function 
‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? 
[-Wimplicit-function-declaration]
  219 |     avcodec_decode_video2(video->codec_context, video->raw_frame, 
&complete_frame, &packet);
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     avcodec_decode_subtitle2
make[1]: *** [<builtin>: video.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to