The goal is to distinguish between APIs provided by the generic layer to individual codecs and APIs internal to the generic layer. Start by moving ff_{decode,encode}_receive_frame() and ff_{decode,encode}_preinit() into this new header, as those functions are called from generic code and should not be visible to individual codecs.
Showing the changes to libavcodec/avcodec.c (1 of 6 files). Show all
Unified · Split
| @@ -34,6 +34,7 @@ · 33 unmodified lines | |||
| 34 | #include "libavutil/opt.h" | 34 | #include "libavutil/opt.h" |
| 35 | #include "libavutil/thread.h" | 35 | #include "libavutil/thread.h" |
| 36 | #include "avcodec.h" | 36 | #include "avcodec.h" |
| 37 | #include "avcodec_internal.h" | ||
| 37 | #include "bsf.h" | 38 | #include "bsf.h" |
| 38 | #include "codec_internal.h" | 39 | #include "codec_internal.h" |
| 39 | #include "decode.h" | 40 | #include "decode.h" |