diff options
author | James Almer <jamrial@gmail.com> | 2017-04-02 00:16:02 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-09 13:46:35 -0300 |
commit | f1533979a22834c29f71107a8460fb936782b5fe (patch) | |
tree | 9053ad20062d9817587711ca54e9e8b00a2f4a8f /libavcodec/mediacodecdec.c | |
parent | 159ab4625bd3641e79b564335be8069dca881978 (diff) |
avcodec/hevc_parse: allow setting apply_defdispwin when decoding SPS NAL units
Reviewed-by: nevcairiel
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mediacodecdec.c')
-rw-r--r-- | libavcodec/mediacodecdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 857e7a5fed..6fd0db2fa5 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; } |