summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_hevc.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2015-06-13 10:53:42 -0700
committerPhilip Langdale <philipl@overt.org>2015-08-04 08:22:19 -0700
commitf038bbd4edd7626922656ce1fe6bc8ff57feffa0 (patch)
tree6bcf77bc10c359dc46fce189365c0257fa8146f2 /libavcodec/vdpau_hevc.c
parentaa10f0aab0e2729e0a5edbd7b6838658d63421e1 (diff)
avcodec/vdpau_hevc: Properly signal the num_delta_pocs from the SPS RPS
This is the same fix that Hendrik made to dxva2_hevc. It should be equally required here, although I don't see any visual difference. Nevertheless, best to stay consistent.
Diffstat (limited to 'libavcodec/vdpau_hevc.c')
-rw-r--r--libavcodec/vdpau_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau_hevc.c b/libavcodec/vdpau_hevc.c
index 4ac324960b..3c1dc5f223 100644
--- a/libavcodec/vdpau_hevc.c
+++ b/libavcodec/vdpau_hevc.c
@@ -213,7 +213,7 @@ static int vdpau_hevc_start_frame(AVCodecContext *avctx,
/** Corresponds to specification field, NumDeltaPocs[RefRpsIdx].
Only applicable when short_term_ref_pic_set_sps_flag == 0.
Implementations will ignore this value in other cases. See 7.4.8. */
- info->NumDeltaPocsOfRefRpsIdx = sh->short_term_rps->num_delta_pocs;
+ info->NumDeltaPocsOfRefRpsIdx = sh->short_term_rps->rps_idx_num_delta_pocs;
}
/** Section 7.6.3.1 of the H.265/HEVC Specification defines the syntax of
the slice_segment_header. This header contains information that