Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fails to build with FFmpeg 8 #1446

@nunotexbsd

Description

@nunotexbsd

FreeBSD amd64

<snip>
gn -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes -Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security -Wold-style-definition -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-un
used-parameter -Wno-missing-field-initializers -MMD -MP -MF .dep-op-sndio.lo -DREALTIME_SCHEDULING -D_FILE_OFFSET_BITS=64  -fPIC -o op/sndio.lo op/sndio.c
ip/ffmpeg.c:229:3: error: call to undeclared function 'avcodec_close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  229 |                 avcodec_close(cc);
      |                 ^
ip/ffmpeg.c:292:2: error: call to undeclared function 'avcodec_close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  292 |         avcodec_close(priv->codec_context);
      |         ^
2 errors generated.

Full log:

cmus-2.12.0_2.log

Metadata

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