[FFmpeg-devel,2/4] lavc/h2645_parse: rename the nal_unit_name to hevc_nal_unit_name.

Submitted by Jun Zhao on May 11, 2018, 5:11 a.m.

Details

Message ID 1526015513-17475-2-git-send-email-mypopydev@gmail.com
State New
Headers show

Commit Message

Jun Zhao May 11, 2018, 5:11 a.m.
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>
---
 libavcodec/h2645_parse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
index ec25c1e..579b2c9 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -145,7 +145,7 @@  nsc:
     return si;
 }
 
-static const char *nal_unit_name(int nal_type)
+static const char *hevc_nal_unit_name(int nal_type)
 {
     switch(nal_type) {
     case HEVC_NAL_TRAIL_N    : return "TRAIL_N";
@@ -239,7 +239,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;
 }