Control: retitle -1 octave-video: FTBFS with ffmpeg 9

With the upstream patch applied, you will get the following error for
ffmpeg 9:

x86_64-linux-gnu-g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/octave-11.3.0/octave/.. -I/usr/include/octave-11.3.0/octave  
-pthread -fopenmp -g -O2 -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection -g  -Wall -Wdate-time -O2 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -I/usr/include/x86_64-linux-gnu  
-DPACKAGE_NAME="Octave-Forge video package" 
-DPACKAGE_TARNAME="octave-forge-video-package" -DPACKAGE_VERSION="2.1.1" 
-DPACKAGE_STRING="Octave-Forge video package 2.1.1" -DPACKAGE_BUGREPORT="" 
-DPACKAGE_URL="" -D_FORTIFY_SOURCE=2 __cap_ffmpeg_wrapper__.cc -o 
/tmp/oct-lwlwDT.o
In file included from __cap_ffmpeg_wrapper__.cc:18:
cap_ffmpeg_impl_ov.hpp: In function ‘AVCodecContext* 
icv_configure_video_stream_FFMPEG(AVFormatContext*, AVStream*, const AVCodec*, 
int, int, int, double, AVPixelFormat, int)’:
cap_ffmpeg_impl_ov.hpp:1855:15: error: ‘const AVCodec’ {aka ‘const struct 
AVCodec’} has no member named ‘supported_framerates’
 1855 |     if(codec->supported_framerates){
      |               ^~~~~~~~~~~~~~~~~~~~
cap_ffmpeg_impl_ov.hpp:1856:37: error: ‘const AVCodec’ {aka ‘const struct 
AVCodec’} has no member named ‘supported_framerates’
 1856 |         const AVRational *p= codec->supported_framerates;
      |                                     ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:12: __cap_ffmpeg_wrapper__.oct] Error 1
make[1]: Leaving directory 
'/tmp/octave-video-2.1-build-dir/octave-video-2.1.3/src'

error: pkg: error running 'make' for the video package
error: called from
    configure_make at line 121 column 9
    install at line 202 column 7
    pkg at line 692 column 9
    install_pkg_from_tarball at line 54 column 5
    /usr/share/dh-octave/install-pkg.m at line 67 column 1

Reply via email to