X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmediacodecdec.c;h=6fd0db2fa52939dec86571ff8373313dcb8d2681;hb=40f3f0298a01c576d4651b4d166f7461dd018a2c;hp=857e7a5fedc92c2b83dc976861ae59c652843a48;hpb=7283725a08c95df11ae7f09b1ad7cba0639e95df;p=ffmpeg diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 857e7a5fedc..6fd0db2fa52 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -202,7 +202,7 @@ static int hevc_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format) memset(&ps, 0, sizeof(ps)); ret = ff_hevc_decode_extradata(avctx->extradata, avctx->extradata_size, - &ps, &is_nalff, &nal_length_size, 0, avctx); + &ps, &is_nalff, &nal_length_size, 0, 1, avctx); if (ret < 0) { goto done; }