On Fri, Mar 25, 2022 at 6:26 PM Michael Niedermayer <mich...@niedermayer.cc> wrote: > > On Fri, Mar 25, 2022 at 03:10:39PM +0100, Diederick Niehorster wrote: > > This example also shows use of get_device_list API. > > > > Also improve capability API doc in avdevice.h: now point to this example > > instead of rough example code given in the header. > > > > Signed-off-by: Diederick Niehorster <dcni...@gmail.com> > > --- > > configure | 2 + > > doc/examples/.gitignore | 1 + > > doc/examples/Makefile | 1 + > > doc/examples/Makefile.example | 1 + > > doc/examples/device_get_capabilities.c | 243 +++++++++++++++++++++++++ > > libavdevice/avdevice.h | 33 +--- > > 6 files changed, 249 insertions(+), 32 deletions(-) > > create mode 100644 doc/examples/device_get_capabilities.c > > maybe i forgot something but this seems not building
It builds for me on MSVC. But searching these warnings and errors, i've learned some new things about C i didn't know because i mostly work in C++. I have locally fixed the -Wstrict-prototypes warnings by adding void as function parameter, and the Werror=missing-prototypes (hopefully) by declaring these internal functions static. Will include in next version, awaiting more comments first. Thanks! Dee _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".