aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-02 15:58:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-02 16:04:22 +0200
commitc299fbbb22f59d1a3ea14819c18bb6b25526c33c (patch)
treedce852509f3fd4f484731298130fe0a820056bc4
parent3e53211a578fc6b042ceff45b2702335294e0464 (diff)
downloadffmpeg-c299fbbb22f59d1a3ea14819c18bb6b25526c33c.tar.gz
avcodec/vda_h264: try to fix build
Found-by: Stefano Pigozzi Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/vda_h264.c1
1 files changed, 1 insertions, 0 deletions
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)