diff options
Diffstat (limited to 'libavcodec/vda_h264.c')
-rw-r--r-- | libavcodec/vda_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vda_h264.c b/libavcodec/vda_h264.c index 34fcd3c6e1..a1efbcdc38 100644 --- a/libavcodec/vda_h264.c +++ b/libavcodec/vda_h264.c @@ -241,7 +241,7 @@ static int end_frame(AVCodecContext *avctx) { H264Context *h = avctx->priv_data; struct vda_context *vda_ctx = avctx->hwaccel_context; - AVFrame *frame = &h->s.current_picture_ptr->f; + AVFrame *frame = &h->cur_pic_ptr->f; int status; if (!vda_ctx->decoder || !vda_ctx->priv_bitstream) |