aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickaƫl Raulet <mraulet@insa-rennes.fr>2014-07-04 11:21:54 -0400
committerAnton Khirnov <anton@khirnov.net>2014-07-11 08:41:32 +0000
commit1493b237bd3f9707319ac58d315ce45312900c10 (patch)
tree5c9c902cef0453b3241675068c5ec05163f87c34
parent17e9d52c8c93f47721ff481b8867922f4b4bd663 (diff)
downloadffmpeg-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>
-rw-r--r--libavcodec/hevc.c2
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);