[MPlayer-users] Builds are broken with avcodec_close undefined
George R Goffe
grgoffe at yahoo.com
Mon Jun 2 22:44:29 EEST 2025
Howdy,
I've been seeing this message for what feels like an eternity.
I got a NICE email from Alexander Strasser who described the problem nicely. Thank you Alexander.
I check somewhat frequently to see if it's been fixed but, so far, have found that there's no fix committed. Is anyone going to fix this problem?
Best regards,
George...
cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-sec
urity -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-afte
r-statement -std=c11 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_
ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -fomit-frame-pointer -fno-tree-vectorize -
fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC
-D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -D_REENTRANT -D_REENTRANT -I/usr/lsd/Linux/
include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -
I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DZLIB_CONST -I/usr/include/opus -I/usr/incl
ude/bs2b -I/usr/lsd/Linux/include -I/usr/include/ffmpeg -I/usr/lsd/Linux/include -I/usr/include/libxml2 -DW
ITH_GZFILEOP -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/at
k-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/lsd/Linux/include -I/usr/include/libmount -I
/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman
-1 -I/usr/include/harfbuzz -I/usr/lsd/Linux/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/us
r/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o libvo/gl_common.o
libvo/gl_common.c
libvo/vo_png.c: In function 'config':
libvo/vo_png.c:129:9: error: implicit declaration of function 'avcodec_close'; did you mean 'avcodec_licens
e'? [-Wimplicit-function-declaration]
129 | avcodec_close(avctx);
| ^~~~~~~~~~~~~
| avcodec_license
libvo/vo_png.c: In function 'draw_image':
More information about the MPlayer-users
mailing list