summaryrefslogtreecommitdiff
path: root/libavcodec/h2645_parse.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-18 00:11:56 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-24 23:33:24 +0100
commit7272d0c0a981db2b7416933e8ba0bbc26699fc8c (patch)
tree77bd19328a481e85fc47cb91861cd20f0684e898 /libavcodec/h2645_parse.c
parent557668e8cbd9695cc45a1135e158b81b5c2b6496 (diff)
avcodec/hevc, h2645_parse: Fix HEVC NAL unit names and constants
This commit fixes the names and constants of the reserved NAL units with nal_unit_type 22 resp. 23. They were "IRAP_IRAP_VLC2x", but are actually "RSV_IRAP_VLC2x". This also required a change to cbs_h265_syntax_template.c. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h2645_parse.c')
-rw-r--r--libavcodec/h2645_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
index 0f3343004f..2e03871640 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -169,8 +169,8 @@ static const char *hevc_nal_type_name[64] = {
"IDR_W_RADL", // HEVC_NAL_IDR_W_RADL
"IDR_N_LP", // HEVC_NAL_IDR_N_LP
"CRA_NUT", // HEVC_NAL_CRA_NUT
- "IRAP_IRAP_VCL22", // HEVC_NAL_IRAP_VCL22
- "IRAP_IRAP_VCL23", // HEVC_NAL_IRAP_VCL23
+ "RSV_IRAP_VCL22", // HEVC_NAL_RSV_IRAP_VCL22
+ "RSV_IRAP_VCL23", // HEVC_NAL_RSV_IRAP_VCL23
"RSV_VCL24", // HEVC_NAL_RSV_VCL24
"RSV_VCL25", // HEVC_NAL_RSV_VCL25
"RSV_VCL26", // HEVC_NAL_RSV_VCL26