diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-05-29 08:38:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-06-04 11:44:37 +0200 |
commit | 9226514cededdfe0244fbe8fe5c8fcfa3a9c75cb (patch) | |
tree | 7854cd5fa5fe85fbec9637048b5ebd683374730a /libavcodec/videotoolbox.c | |
parent | 7ad9400952c0e2827def7a461ff7a8f7b911945b (diff) | |
download | ffmpeg-9226514cededdfe0244fbe8fe5c8fcfa3a9c75cb.tar.gz |
lavc/hevcdec: rename HEVCContext.ref to cur_frame
Since it stores a pointer to the current frame.
Diffstat (limited to 'libavcodec/videotoolbox.c')
-rw-r--r-- | libavcodec/videotoolbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index 0e3dfb934c..72462c4695 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -1075,7 +1075,7 @@ static int videotoolbox_hevc_decode_params(AVCodecContext *avctx, static int videotoolbox_hevc_end_frame(AVCodecContext *avctx) { HEVCContext *h = avctx->priv_data; - AVFrame *frame = h->ref->frame; + AVFrame *frame = h->cur_frame->frame; VTContext *vtctx = avctx->internal->hwaccel_priv_data; int ret; |