mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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> |
||
---|---|---|
.. | ||
aarch64 | ||
arm | ||
ppc | ||
x86 | ||
.gitignore | ||
avcodec.c | ||
avfft.c | ||
avpacket.c | ||
cabac.c | ||
celp_math.c | ||
codec_desc.c | ||
dct.c | ||
fft-fixed32.c | ||
fft.c | ||
golomb.c | ||
h264_levels.c | ||
h265_levels.c | ||
htmlsubtitles.c | ||
iirfilter.c | ||
jpeg2000dwt.c | ||
mathops.c | ||
mjpegenc_huffman.c | ||
motion.c | ||
mpeg12framerate.c | ||
rangecoder.c | ||
snowenc.c |