diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2014-07-04 11:21:54 -0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-07-11 08:41:32 +0000 |
commit | 1493b237bd3f9707319ac58d315ce45312900c10 (patch) | |
tree | 5c9c902cef0453b3241675068c5ec05163f87c34 /libavcodec/hevc.c | |
parent | 17e9d52c8c93f47721ff481b8867922f4b4bd663 (diff) | |
download | ffmpeg-1493b237bd3f9707319ac58d315ce45312900c10.tar.gz |
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>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 13f989b10f..9d7a53add8 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -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); |