avutil: remove deprecated FF_API_FRAME_KEY

Deprecated since 2023-05-04.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2025-02-19 13:58:04 -03:00
parent 8af3331883
commit 1061689ad8
8 changed files with 0 additions and 48 deletions
-7
View File
@@ -214,13 +214,6 @@ int ff_encode_get_frame(AVCodecContext *avctx, AVFrame *frame)
av_frame_move_ref(frame, avci->buffer_frame);
#if FF_API_FRAME_KEY
FF_DISABLE_DEPRECATION_WARNINGS
if (frame->key_frame)
frame->flags |= AV_FRAME_FLAG_KEY;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
return 0;
}