summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_h2645.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-11-09 01:04:02 +0000
committerMark Thompson <sw@jkqxz.net>2018-02-20 22:04:12 +0000
commit1d12a545ce828eaf4fb37295400008ea37635ab8 (patch)
treecd46b169af902f8fa59d8e9d315af7f2999d7c7c /libavcodec/cbs_h2645.c
parent2651352988212531038326c44754ece1728c4a3b (diff)
cbs: Add an explicit type for coded bitstream unit types
Also fix conversion specifiers used for the unit type.
Diffstat (limited to 'libavcodec/cbs_h2645.c')
-rw-r--r--libavcodec/cbs_h2645.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 00eed0f283..e3b5bf618a 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -1213,7 +1213,7 @@ static int cbs_h265_write_nal_unit(CodedBitstreamContext *ctx,
default:
av_log(ctx->log_ctx, AV_LOG_ERROR, "Write unimplemented for "
- "NAL unit type %d.\n", unit->type);
+ "NAL unit type %"PRIu32".\n", unit->type);
return AVERROR_PATCHWELCOME;
}