Source: libquicktime
Version: 2:1.2.4-12
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Usertags: ffmpeg5.0
Tags: sid bookworm ftbfs

libquicktime FTBFS with ffmpeg 5.0 (in experimental):
| /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../.. -I../../include -I../../include  -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu 
-DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security  -finline-functions 
-Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement 
-fvisibility=hidden -c -o video.lo video.c
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include 
-I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/x86_64-linux-gnu 
-I/usr/include/x86_64-linux-gnu -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -finline-functions -Wall -Winline 
-Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -c 
video.c  -fPIC -DPIC -o .libs/video.o
| video.c: In function ‘lqt_ffmpeg_decode_video’:
| video.c:881:10: warning: implicit declaration of function 
‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? 
[-Wimplicit-function-declaration]
|   881 |       if(avcodec_decode_video2(codec->avctx,
|       |          ^~~~~~~~~~~~~~~~~~~~~
|       |          avcodec_decode_subtitle2
| video.c: In function ‘init_imx_encoder’:
| video.c:1142:15: error: ‘AVCodecContext’ has no member named 
‘rtp_payload_size’
|  1142 |   codec->avctx->rtp_payload_size = 1; // ??
|       |               ^~
| video.c: In function ‘lqt_ffmpeg_encode_video’:
| video.c:1531:3: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
|  1531 |   av_init_packet(&pkt);
|       |   ^~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from ffmpeg.h:29,
|                  from video.c:26:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| video.c:1535:6: warning: implicit declaration of function 
‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’? 
[-Wimplicit-function-declaration]
|  1535 |   if(avcodec_encode_video2(codec->avctx, &pkt, codec->frame, 
&got_packet) < 0)
|       |      ^~~~~~~~~~~~~~~~~~~~~
|       |      avcodec_encode_subtitle
| video.c: In function ‘flush’:
| video.c:1632:3: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
|  1632 |   av_init_packet(&pkt);
|       |   ^~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from ffmpeg.h:29,
|                  from video.c:26:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| video.c:1615:7: warning: variable ‘result’ set but not used 
[-Wunused-but-set-variable]
|  1615 |   int result = 0;
|       |       ^~~~~~
| video.c: In function ‘lqt_ffmpeg_encode_video’:
| video.c:1435:9: warning: ignoring return value of ‘fread’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
|  1435 |         fread(codec->avctx->stats_in, stats_len, 1, 
codec->stats_file);
|       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[4]: *** [Makefile:539: video.lo] Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to