Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg 5.0 compatibility #398

Closed
alucryd opened this issue Jan 23, 2022 · 2 comments
Closed

FFmpeg 5.0 compatibility #398

alucryd opened this issue Jan 23, 2022 · 2 comments

Comments

@alucryd
Copy link

alucryd commented Jan 23, 2022

Trying to build ffms2 against ffmpeg 5.0 produces an error during configure:

configure:17197: checking whether FFmpeg works
configure:17217: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto   -D__STDC_CONSTANT_MACROS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto conftest.c  -lavformat -lavcodec -lswscale -lavutil -lswresample >&5
conftest.c: In function 'main':
conftest.c:31:17: warning: implicit declaration of function 'avcodec_register_all' [-Wimplicit-function-declaration]
   31 |                 avcodec_register_all();
      |                 ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccTVFp6e.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup+0xc): undefined reference to `avcodec_register_all'
collect2: error: ld returned 1 exit status

Does ffms2 need to be updated?

@dwbuiten
Copy link
Member

This was fixed in 586d87d in master, quite a while ago.

@alucryd
Copy link
Author

alucryd commented Jan 25, 2022

Ah sorry, I had found the commit and forgot to close this, thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants