Skip to content

Compilation error with ffmpeg 7.0. #300

Open
@68foxboris

Description

Compilation error after changing to ffmpeg 7.0:

/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp:1060:35: error: 'const AVInputFormat' {aka 'const struct AVInputFormat'} has no member named 'read_probe'
1060 | if (iformat2 && iformat2->read_probe(&pd) > AVPROBE_SCORE_MAX / 4)
| ^~~~~~~~~~
/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp:1069:37: error: 'const AVInputFormat' {aka 'const struct AVInputFormat'} has no member named 'read_probe'
1069 | if (iformat2 && iformat2->read_probe(&pd) > AVPROBE_SCORE_MAX / 4)
| ^~~~~~~~~~
/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp: In member function 'bool ffmpegdirect::FFmpegStream::SeekTime(double, bool, double*)':
/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp:1538:38: error: 'const struct AVInputFormat' has no member named 'read_seek'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions