mirror of https://git.ffmpeg.org/ffmpeg.git
20f9727018
Up until now, codec.h contains both public and private parts of AVCodec. This exposes the internals of AVCodec to users and leads them into the temptation of actually using them and forces us to forward-declare structures and types that users can't use at all. This commit changes this by adding a new structure FFCodec to codec_internal.h that extends AVCodec, i.e. contains the public AVCodec as first member; the private fields of AVCodec are moved to this structure, leaving codec.h clean. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
||
---|---|---|
.. | ||
python | ||
.gitignore | ||
Makefile | ||
aviocat.c | ||
bisect-create | ||
bookmarklets.html | ||
cl2c | ||
clean-diff | ||
coverity.c | ||
crypto_bench.c | ||
cws2fws.c | ||
decode_simple.c | ||
decode_simple.h | ||
dvd2concat | ||
enum_options.c | ||
ffescape.c | ||
ffeval.c | ||
ffhash.c | ||
fourcc2pixfmt.c | ||
gen-rc | ||
graph2dot.c | ||
ismindex.c | ||
libav-merge-next-commit | ||
loudnorm.rb | ||
make_chlayout_test | ||
missing_codec_desc | ||
murge | ||
normalize.py | ||
patcheck | ||
pktdumper.c | ||
plotframes | ||
probetest.c | ||
qt-faststart.c | ||
scale_slice_test.c | ||
seek_print.c | ||
sidxindex.c | ||
sofa2wavs.c | ||
target_bsf_fuzzer.c | ||
target_dec_fate.list | ||
target_dec_fate.sh | ||
target_dec_fuzzer.c | ||
target_dem_fuzzer.c | ||
trasher.c | ||
uncoded_frame.c | ||
unwrap-diff | ||
venc_data_dump.c | ||
yuvcmp.c | ||
zmqsend.c | ||
zmqshell.py |