mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
hevc: Replace nal type chek with equivalent IS_IRAP macro
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
17e9d52c8c
commit
1493b237bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user