aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2015-04-02 13:43:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-02 15:06:28 +0200
commit3e53211a578fc6b042ceff45b2702335294e0464 (patch)
treef8f482d0aa854d286c67b1923a3c1d7a447cd077 /libavcodec/h264.c
parent764f87b6ab8eb08f909a347fd3a804a935f5ea2b (diff)
downloadffmpeg-3e53211a578fc6b042ceff45b2702335294e0464.tar.gz
vda: fix h264 decoding for avcC,vda wants the entire buffer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 05d238b468..1c990c383d 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1588,7 +1588,7 @@ again:
decode_postinit(h, nal_index >= nals_needed);
if (h->avctx->hwaccel &&
- (ret = h->avctx->hwaccel->start_frame(h->avctx, NULL, 0)) < 0)
+ (ret = h->avctx->hwaccel->start_frame(h->avctx, buf, buf_size)) < 0)
return ret;
if (CONFIG_H264_VDPAU_DECODER &&
h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)