diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2018-04-13 19:39:24 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2018-04-15 11:26:46 +0200 |
commit | 955fa237f495e3077996c1d282b4ace2a9ad6c15 (patch) | |
tree | 40a486bb4f0f31131b52542dd4ac4ae7c55de58a /libavcodec/nvdec_hevc.c | |
parent | 8df8a9299364016027825a67534b93cd2b6af473 (diff) | |
download | ffmpeg-955fa237f495e3077996c1d282b4ace2a9ad6c15.tar.gz |
avcodec/nvdec: correctly set intra_pic_flag for h264/hevc
Diffstat (limited to 'libavcodec/nvdec_hevc.c')
-rw-r--r-- | libavcodec/nvdec_hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvdec_hevc.c b/libavcodec/nvdec_hevc.c index e89256d75a..008963130b 100644 --- a/libavcodec/nvdec_hevc.c +++ b/libavcodec/nvdec_hevc.c @@ -93,7 +93,7 @@ static int nvdec_hevc_start_frame(AVCodecContext *avctx, .FrameHeightInMbs = sps->height / 16, .CurrPicIdx = cf->idx, .ref_pic_flag = 1, - .intra_pic_flag = 0, + .intra_pic_flag = IS_IRAP(s), .CodecSpecific.hevc = { .pic_width_in_luma_samples = sps->width, |