summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_refs.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-23 20:02:11 -0300
committerJames Almer <jamrial@gmail.com>2017-03-23 20:02:11 -0300
commitdc39ccdc3b88e9ec3b4aa3581798c30660d94d07 (patch)
treeea6dd9bc79af60d63fe0edd905158b3440db23d4 /libavcodec/hevc_refs.c
parent0f4abbd4ee1c5b34068cb48ceab3515641d6e0fb (diff)
parent0bfdcce4d42a6e654c00ea5f9237dc987626457f (diff)
Merge commit '0bfdcce4d42a6e654c00ea5f9237dc987626457f'
* commit '0bfdcce4d42a6e654c00ea5f9237dc987626457f': hevc: move the SliceType enum to hevc.h Merged-by: James Almer <jamrial@gmail.com>
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 935e388653..9103c84686 100644
--- a/libavcodec/hevc_refs.c
+++ b/libavcodec/hevc_refs.c
@@ -300,7 +300,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;