summaryrefslogtreecommitdiff
path: root/modules/h265/fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/h265/fmt.c')
-rw-r--r--modules/h265/fmt.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/h265/fmt.c b/modules/h265/fmt.c
index b30df2c..ac71b10 100644
--- a/modules/h265/fmt.c
+++ b/modules/h265/fmt.c
@@ -1,3 +1,8 @@
+/**
+ * @file h265/fmt.c H.265 Video Codec -- protocol format
+ *
+ * Copyright (C) 2010 Creytiv.com
+ */
#include <string.h>
#include <re.h>
@@ -58,11 +63,11 @@ int h265_nal_decode(struct h265_nal *nal, const uint8_t *p)
nal->nuh_temporal_id_plus1 = p[1] & 0x07;
if (forbidden_zero_bit) {
- re_fprintf(stderr, "?!?!?!?! FORBIDDEN !!! ?!?!?!*\n");
+ warning("h265: nal_decode: FORBIDDEN bit set\n");
return EBADMSG;
}
if (nuh_layer_id != 0) {
- re_fprintf(stderr, "h265_nal_decode: LayerId MUST be zero\n");
+ warning("h265: nal_decode: LayerId MUST be zero\n");
return EBADMSG;
}