diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-28 00:27:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-28 10:37:09 +0100 |
commit | 4db81f081743aeed366e8af7a748667818a27e0f (patch) | |
tree | 6a769b672bab47803aedd2f3a17041de6fad7361 /libavcodec/hevc.h | |
parent | 078dab551d53fa979f8110dc8a63deae78036a5a (diff) |
hevc: add irap checks
(cherry picked from commit 3d3bbe35541a308937d0fe72b20a1c29d1c4100d)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 90953ad59a..4b45323bb3 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -82,6 +82,7 @@ #define IS_IDR(s) (s->nal_unit_type == NAL_IDR_W_RADL || s->nal_unit_type == NAL_IDR_N_LP) #define IS_BLA(s) (s->nal_unit_type == NAL_BLA_W_RADL || s->nal_unit_type == NAL_BLA_W_LP || \ s->nal_unit_type == NAL_BLA_N_LP) +#define IS_IRAP(s) (s->nal_unit_type >= 16 && s->nal_unit_type <= 23) /** * Table 7-3: NAL unit type codes |