diff options
author | James Almer <jamrial@gmail.com> | 2024-01-20 10:31:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-03-07 08:53:30 -0300 |
commit | 2717dcfb8527dd65a9fb0e7f8cb00d118af65b68 (patch) | |
tree | 2cb0b4f77ca20cfc4181d809ae76d5c6a33ea571 /libavcodec/decode.c | |
parent | 7bca8ce42251a6bff9d482d46f52c9a8e280f112 (diff) | |
download | ffmpeg-2717dcfb8527dd65a9fb0e7f8cb00d118af65b68.tar.gz |
avcodec: remove deprecated FF_API_AVCTX_FRAME_NUMBER
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/decode.c')
-rw-r--r-- | libavcodec/decode.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c index cd483528c5..960cf56a92 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -820,11 +820,6 @@ int ff_decode_receive_frame(AVCodecContext *avctx, AVFrame *frame) } avctx->frame_num++; -#if FF_API_AVCTX_FRAME_NUMBER -FF_DISABLE_DEPRECATION_WARNINGS - avctx->frame_number = avctx->frame_num; -FF_ENABLE_DEPRECATION_WARNINGS -#endif #if FF_API_DROPCHANGED if (avctx->flags & AV_CODEC_FLAG_DROPCHANGED) { @@ -1032,11 +1027,6 @@ int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, if (*got_sub_ptr) avctx->frame_num++; -#if FF_API_AVCTX_FRAME_NUMBER -FF_DISABLE_DEPRECATION_WARNINGS - avctx->frame_number = avctx->frame_num; -FF_ENABLE_DEPRECATION_WARNINGS -#endif } return ret; |