We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
../nginx-vod-module/vod/thumb/thumb_grabber.c:112:9: error: ‘avcodec_close’ is deprecated [-Werror=deprecated-declarations] 112 | avcodec_close(state->decoder); | ^~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
@taojishou It works fine for me on ffmpeg version 6.1.1.
Sorry, something went wrong.
For me, it's version 7.0.2 that have this problem:
> /nix/store/xjls3h70j5zj2pipyvlhl1zwd4c14wf8-vod/vod/thumb/thumb_grabber.c:112:9: error: 'avcodec_close' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations8;;] > 112 | avcodec_close(state->decoder); > | ^~~~~~~~~~~~~ > /nix/store/r3lzivf4j336jbm79941j08x95ravarr-ffmpeg-headless-7.0.2-dev/include/libavcodec/avcodec.h:2387:5: note: declared here > 2387 | int avcodec_close(AVCodecContext *avctx); > | ^~~~~~~~~~~~~ > cc1: all warnings being treated as errors > make[1]: *** [objs/Makefile:2670: objs/addon/thumb/thumb_grabber.o] Error 1 > make[1]: Leaving directory '/build/nginx-1.26.2' > make: *** [Makefile:10: build] Error 2 For full logs, run 'nix log /nix/store/6f6ha2z9c7sgf1qrcsahq018zxa3w90q-nginx-1.26.2.drv'.
No branches or pull requests
../nginx-vod-module/vod/thumb/thumb_grabber.c:112:9: error: ‘avcodec_close’ is deprecated [-Werror=deprecated-declarations]
112 | avcodec_close(state->decoder);
| ^~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: