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
cc -g -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -c segment.c cc -g -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -c buffer.c cc -g -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -c publisher.c #cc -g -Wall `pkg-config --cflags libavformat libavcodec libavutil` `pkg-config --libs libavformat libavcodec libavutil` -pthread -o server segment.o buffer.o publisher.o server2.c cc -g -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -o server segment.o buffer.o publisher.o server2.c `pkg-config --libs libavformat libavcodec libavutil` server2.c: In function ‘accept_thread’: server2.c:301:66: warning: passing argument 4 of ‘av_opt_get’ from incompatible pointer type [-Wincompatible-pointer-types] 301 | av_opt_get(client, "method", AV_OPT_SEARCH_CHILDREN, &method); | ^~~~~~~ | | | char ** In file included from server2.c:8: /usr/include/x86_64-linux-gnu/libavutil/opt.h:757:84: note: expected ‘uint8_t **’ {aka ‘unsigned char **’} but argument is of type ‘char **’ 757 | int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val); | ~~~~~~~~~~~~^~~~~~~ server2.c:302:68: warning: passing argument 4 of ‘av_opt_get’ from incompatible pointer type [-Wincompatible-pointer-types] 302 | av_opt_get(client, "resource", AV_OPT_SEARCH_CHILDREN, &resource); | ^~~~~~~~~ | | | char ** In file included from server2.c:8: /usr/include/x86_64-linux-gnu/libavutil/opt.h:757:84: note: expected ‘uint8_t **’ {aka ‘unsigned char **’} but argument is of type ‘char **’ 757 | int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val); | ~~~~~~~~~~~~^~~~~~~ server2.c: In function ‘main’: server2.c:440:5: warning: ‘av_register_all’ is deprecated [-Wdeprecated-declarations] 440 | av_register_all(); | ^~~~~~~~~~~~~~~ In file included from server2.c:9: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:1955:6: note: declared here 1955 | void av_register_all(void); | ^~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
I have the same output but they're only warnings.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: