Commit 1493b237 authored by Mickaël Raulet's avatar Mickaël Raulet Committed by Anton Khirnov

hevc: Replace nal type chek with equivalent IS_IRAP macro

Signed-off-by: default avatarVittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 17e9d52c
......@@ -470,7 +470,7 @@ static int hls_slice_header(HEVCContext *s)
if (IS_IDR(s))
ff_hevc_clear_refs(s);
}
if (s->nal_unit_type >= 16 && s->nal_unit_type <= 23)
if (IS_IRAP(s))
sh->no_output_of_prior_pics_flag = get_bits1(gb);
sh->pps_id = get_ue_golomb_long(gb);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment