summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_refs.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-10-18 21:14:18 +0200
committerAnton Khirnov <anton@khirnov.net>2016-10-21 10:11:20 +0200
commit0bfdcce4d42a6e654c00ea5f9237dc987626457f (patch)
tree9ffae08f0f686aa135571427d49709012652356d /libavcodec/hevc_refs.c
parent096a8effa3f8f3455292c958c3ed07e798def7bd (diff)
hevc: move the SliceType enum to hevc.h
Those values are decoder-independent and are also use by the VA-API encoder.
Diffstat (limited to 'libavcodec/hevc_refs.c')
-rw-r--r--libavcodec/hevc_refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c
index 0b6beb590f..30409bae5f 100644
--- a/libavcodec/hevc_refs.c
+++ b/libavcodec/hevc_refs.c
@@ -249,7 +249,7 @@ int ff_hevc_slice_rpl(HEVCContext *s)
{
SliceHeader *sh = &s->sh;
- uint8_t nb_list = sh->slice_type == B_SLICE ? 2 : 1;
+ uint8_t nb_list = sh->slice_type == HEVC_SLICE_B ? 2 : 1;
uint8_t list_idx;
int i, j, ret;