From c299fbbb22f59d1a3ea14819c18bb6b25526c33c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 2 Apr 2015 15:58:02 +0200 Subject: [PATCH] avcodec/vda_h264: try to fix build Found-by: Stefano Pigozzi Signed-off-by: Michael Niedermayer --- libavcodec/vda_h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/vda_h264.c b/libavcodec/vda_h264.c index b6b9ab4a89..2a183302d0 100644 --- a/libavcodec/vda_h264.c +++ b/libavcodec/vda_h264.c @@ -342,6 +342,7 @@ static int vda_h264_decode_slice(AVCodecContext *avctx, uint32_t size) { VDAContext *vda = avctx->internal->hwaccel_priv_data; + H264Context *h = avctx->priv_data; void *tmp; if (h->is_avc == 1)