summaryrefslogtreecommitdiffstats
path: root/libavcodec/h2645_parse.c
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-05-14 14:49:56 +0800
committerJun Zhao <jun.zhao@intel.com>2018-05-16 20:24:48 +0800
commit7582a907e40ef1012e40a9b17aead05a6777b0ca (patch)
tree6548632f49019220f54f039476a031212969e0aa /libavcodec/h2645_parse.c
parent48c5ac8b0f6648099d8cf684658ca807db8dca86 (diff)
downloadffmpeg-streaming-7582a907e40ef1012e40a9b17aead05a6777b0ca.zip
ffmpeg-streaming-7582a907e40ef1012e40a9b17aead05a6777b0ca.tar.gz
lavc/h2645_parse: rename the nal_unit_name to hevc_nal_unit_name.
Rename the nal_unit_name to hevc_nal_unit_name, will add a h264_nal_unit_name function. Signed-off-by: Jun Zhao <mypopydev@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 53ba3e3..99c2245 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -212,7 +212,7 @@ static const char *hevc_nal_type_name[64] = {
"UNSPEC63", // HEVC_NAL_UNSPEC63
};
-static const char *nal_unit_name(int nal_type)
+static const char *hevc_nal_unit_name(int nal_type)
{
av_assert0(nal_type >= 0 && nal_type < 64);
return hevc_nal_type_name[nal_type];
@@ -264,7 +264,7 @@ static int hevc_parse_nal_header(H2645NAL *nal, void *logctx)
av_log(logctx, AV_LOG_DEBUG,
"nal_unit_type: %d(%s), nuh_layer_id: %d, temporal_id: %d\n",
- nal->type, nal_unit_name(nal->type), nuh_layer_id, nal->temporal_id);
+ nal->type, hevc_nal_unit_name(nal->type), nuh_layer_id, nal->temporal_id);
return nuh_layer_id == 0;
}
OpenPOWER on IntegriCloud