--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ffmpeg2theora FTBFS with ffmpeg 5.0.1
- From: Adrian Bunk <bunk@debian.org>
- Date: Thu, 23 Jun 2022 14:03:36 +0300
- Message-id: <165598221649.1359.7452746997048030494.reportbug@localhost>
Source: ffmpeg2theora
Version: 0.30-2
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=ffmpeg2theora&ver=0.30-2%2Bb1
...
src/subtitles.h:25:128: error: unknown type name 'AVSubtitleRect'
25 | extern int add_image_subtitle_for_stream(ff2theora_kate_stream *streams, int nstreams, int idx, float t, float duration, const AVSubtitleRect *sr, int org_width, int org_height, FILE *frontend);
| ^~~~~~~~~~~~~~
src/subtitles.c:571:121: error: unknown type name 'AVSubtitleRect'
571 | int add_image_subtitle_for_stream(ff2theora_kate_stream *streams, int nstreams, int idx, float t, float duration, const AVSubtitleRect *sr, int org_width, int org_height, FILE *frontend)
| ^~~~~~~~~~~~~~
src/subtitles.c: In function 'add_image_subtitle_for_stream':
src/subtitles.c:577:9: error: request for member 'nb_colors' in something not a structure or union
577 | if (sr->nb_colors <= 0 || sr->nb_colors > 256) {
| ^~
src/subtitles.c:577:31: error: request for member 'nb_colors' in something not a structure or union
577 | if (sr->nb_colors <= 0 || sr->nb_colors > 256) {
| ^~
src/subtitles.c:578:85: error: request for member 'nb_colors' in something not a structure or union
578 | warn(frontend, NULL, 0, "Unsupported number of colors in image subtitle: %d", sr->nb_colors);
| ^~
src/subtitles.c:594:36: error: request for member 'x' in something not a structure or union
594 | subtitle->kr.x = 1000000 * sr->x / org_width;
| ^~
src/subtitles.c:595:36: error: request for member 'y' in something not a structure or union
595 | subtitle->kr.y = 1000000 * sr->y / org_height;
| ^~
src/subtitles.c:596:36: error: request for member 'w' in something not a structure or union
596 | subtitle->kr.w = 1000000 * sr->w / org_width;
| ^~
src/subtitles.c:597:36: error: request for member 'h' in something not a structure or union
597 | subtitle->kr.h = 1000000 * sr->h / org_height;
| ^~
src/subtitles.c:600:32: error: request for member 'nb_colors' in something not a structure or union
600 | subtitle->kp.ncolors = sr->nb_colors;
| ^~
src/subtitles.c:606:48: error: request for member 'pict' in something not a structure or union
606 | const uint32_t *pal = (const uint32_t*)sr->pict.data[1];
| ^~
src/subtitles.c:616:30: error: request for member 'w' in something not a structure or union
616 | subtitle->kb.width = sr->w;
| ^~
src/subtitles.c:617:31: error: request for member 'h' in something not a structure or union
617 | subtitle->kb.height = sr->h;
| ^~
src/subtitles.c:619:40: error: request for member 'nb_colors' in something not a structure or union
619 | while ((1<<subtitle->kb.bpp) < sr->nb_colors) ++subtitle->kb.bpp;
| ^~
src/subtitles.c:620:38: error: request for member 'w' in something not a structure or union
620 | subtitle->kb.pixels = malloc(sr->w*sr->h);
| ^~
src/subtitles.c:620:44: error: request for member 'h' in something not a structure or union
620 | subtitle->kb.pixels = malloc(sr->w*sr->h);
| ^~
src/subtitles.c:628:36: error: request for member 'pict' in something not a structure or union
628 | memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h);
| ^~
src/subtitles.c:628:53: error: request for member 'w' in something not a structure or union
628 | memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h);
| ^~
src/subtitles.c:628:59: error: request for member 'h' in something not a structure or union
628 | memcpy(subtitle->kb.pixels,sr->pict.data[0],sr->w*sr->h);
| ^~
scons: *** [src/subtitles.o] Error 1
--- End Message ---