From d300b14a87af55abf69f4652108a37ec02d3c188 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 b6b9ab4a89cee..2a183302d0eca 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)