ffmpeg/fftools
Andreas Rheinhardt 988deae6da fftools: Switch to const AVCodec * where possible
The obstacle to do so was in filter_codec_opts: It uses searches
the AVCodec for options via the AV_OPT_SEARCH_FAKE_OBJ method, which
requires using a void * that points to a pointer to a const AVClass.
When using const AVCodec *, one can not simply use a pointer that points
to the AVCodec's pointer to its AVClass, as said pointer is const, too.
This is fixed by using a temporary pointer to the AVClass.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-03-02 08:20:10 +01:00
..
Makefile
cmdutils.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
cmdutils.h fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg.h fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg_filter.c fftools/ffmpeg_filter: Don't use deprecated function 2021-02-26 18:28:26 +01:00
ffmpeg_hw.c
ffmpeg_opt.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffmpeg_qsv.c
ffmpeg_videotoolbox.c
ffplay.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00
ffprobe.c fftools: Switch to const AVCodec * where possible 2021-03-02 08:20:10 +01:00