diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 21:28:16 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-27 14:14:56 +0200 |
commit | 66b691f99f77ebb59d5c192aab4eefec4d200be8 (patch) | |
tree | ed008b92aa702300b16757f05d90dec0b09aab79 /libavcodec/internal.h | |
parent | e2c24e6a299b7e0e5387bdc50c11d16857b950a0 (diff) |
avcodec/internal: Move ff_get_buffer() to decode.h
Only used by decoders (encoders have ff_encode_alloc_frame()).
Also clean up the other headers a bit while removing now redundant
internal.h inclusions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 039093ed41..c1eddd0879 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -212,13 +212,6 @@ static av_always_inline float ff_exp2fi(int x) { return 0; } -/** - * Get a buffer for a frame. This is a wrapper around - * AVCodecContext.get_buffer() and should be used instead calling get_buffer() - * directly. - */ -int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags); - int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx); int avpriv_codec_get_cap_skip_frame_fill_param(const AVCodec *codec); |