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

Bug#1004631: xjadeo: FTBFS with ffmpeg 5.0



Source: xjadeo
Version: 0.8.9-1
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

xjadeo FTBFS with ffmpeg 5.0 (available in experimental):
| gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O3 -pthread -I/usr/include/x86_64-linux-gnu -I/usr/include/freetype2 -I/usr/include/libpng16 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL "-DSUBVERSION=\"\"" "-DSHAREDIR=\"/usr/share\""    -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xjadeo-jack.o `test -f 'jack.c' || echo './'`jack.c
| xjadeo.c: In function ‘event_loop’:
| xjadeo.c:240:25: warning: variable ‘we_know_transport_is_not_rolling’ set but not used [-Wunused-but-set-variable]
|   240 |                 uint8_t we_know_transport_is_not_rolling = 0;
|       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| xjadeo.c: In function ‘init_moviebuffer’:
| xjadeo.c:438:20: warning: implicit declaration of function ‘avpicture_get_size’ [-Wimplicit-function-declaration]
|   438 |         vbufsize = avpicture_get_size (render_fmt, movie_width, movie_height);
|       |                    ^~~~~~~~~~~~~~~~~~
| xjadeo.c:444:17: warning: implicit declaration of function ‘avpicture_fill’ [-Wimplicit-function-declaration]
|   444 |                 avpicture_fill ((AVPicture *)pFrameFMT, buffer, render_fmt, movie_width, movie_height);
|       |                 ^~~~~~~~~~~~~~
| xjadeo.c:444:34: error: ‘AVPicture’ undeclared (first use in this function); did you mean ‘AVPictureType’?
|   444 |                 avpicture_fill ((AVPicture *)pFrameFMT, buffer, render_fmt, movie_width, movie_height);
|       |                                  ^~~~~~~~~
|       |                                  AVPictureType
| xjadeo.c:444:34: note: each undeclared identifier is reported only once for each function it appears in
| xjadeo.c:444:45: error: expected expression before ‘)’ token
|   444 |                 avpicture_fill ((AVPicture *)pFrameFMT, buffer, render_fmt, movie_width, movie_height);
|       |                                             ^
| xjadeo.c: In function ‘avinit’:
| xjadeo.c:451:9: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration]
|   451 |         av_register_all ();
|       |         ^~~~~~~~~~~~~~~
| xjadeo.c:455:9: warning: implicit declaration of function ‘avcodec_register_all’ [-Wimplicit-function-declaration]
|   455 |         avcodec_register_all ();
|       |         ^~~~~~~~~~~~~~~~~~~~
| xjadeo.c: In function ‘parse_pts_from_frame’:
| xjadeo.c:476:23: warning: implicit declaration of function ‘av_frame_get_best_effort_timestamp’ [-Wimplicit-function-declaration]
|   476 |                 pts = av_frame_get_best_effort_timestamp (f);
|       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| xjadeo.c:488:26: error: ‘AVFrame’ has no member named ‘pkt_pts’; did you mean ‘pkt_dts’?
|   488 |                 pts = f->pkt_pts;
|       |                          ^~~~~~~
|       |                          pkt_dts
| xjadeo.c: In function ‘seek_frame’:
| xjadeo.c:589:33: warning: implicit declaration of function ‘av_free_packet’; did you mean ‘av_get_packet’? [-Wimplicit-function-declaration]
|   589 |                                 av_free_packet (packet);
|       |                                 ^~~~~~~~~~~~~~
|       |                                 av_get_packet
| xjadeo.c:616:23: warning: implicit declaration of function ‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration]
|   616 |                 err = avcodec_decode_video2 (pCodecCtx, pFrame, &frameFinished, packet);
|       |                       ^~~~~~~~~~~~~~~~~~~~~
|       |                       avcodec_decode_subtitle2
| xjadeo.c: In function ‘index_frames’:
| xjadeo.c:952:37: warning: implicit declaration of function ‘av_frame_get_pkt_pos’ [-Wimplicit-function-declaration]
|   952 |                 fidx[i].frame_pos = av_frame_get_pkt_pos (pFrame);
|       |                                     ^~~~~~~~~~~~~~~~~~~~
| xjadeo.c: In function ‘open_movie’:
| xjadeo.c:1303:43: error: ‘AVStream’ has no member named ‘codec’
|  1303 |                 if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
|       |                                           ^~
| xjadeo.c:1333:33: warning: implicit declaration of function ‘av_stream_get_r_frame_rate’; did you mean ‘av_stream_get_side_data’? [-Wimplicit-function-declaration]
|  1333 |                 AVRational fr = av_stream_get_r_frame_rate (av_stream);
|       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                 av_stream_get_side_data
| xjadeo.c:1333:33: error: invalid initializer
| xjadeo.c:1399:51: error: ‘AVStream’ has no member named ‘codec’
|  1399 |         pCodecCtx=pFormatCtx->streams[videoStream]->codec;
|       |                                                   ^~
| xjadeo.c:1421:27: error: ‘AVStream’ has no member named ‘codec’
|  1421 |         else if (av_stream->codec->sample_aspect_ratio.num)
|       |                           ^~
| xjadeo.c:1422:50: error: ‘AVStream’ has no member named ‘codec’
|  1422 |                 sample_aspect = av_q2d (av_stream->codec->sample_aspect_ratio);
|       |                                                  ^~
| xjadeo.c:1455:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|  1455 |         pCodec=avcodec_find_decoder (pCodecCtx->codec_id);
|       |               ^
| xjadeo.c:1516:27: error: ‘AVStream’ has no member named ‘codec’
|  1516 |         else if (av_stream->codec->sample_aspect_ratio.num)
|       |                           ^~
| xjadeo.c:1518:42: error: ‘AVStream’ has no member named ‘codec’
|  1518 |                                 av_stream->codec->sample_aspect_ratio.num, av_stream->codec->sample_aspect_ratio.den);
|       |                                          ^~
| xjadeo.c:1518:85: error: ‘AVStream’ has no member named ‘codec’
|  1518 |                                 av_stream->codec->sample_aspect_ratio.num, av_stream->codec->sample_aspect_ratio.den);
|       |                                                                                     ^~
| make[5]: *** [Makefile:612: xjadeo-xjadeo.o] Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: