Replace non-ASCII characters
Replace the non-ASCII character '−' with '-'. Replace the non-ASCII
character '®' with "(R)".
These are reported by Yuan Tong in
https://github.com/AOMediaCodec/libavif/pull/438.
Change-Id: If8a73f45ff7b99f99d1145e9497a17fdd5d6bae5
diff --git a/aom_ports/x86.h b/aom_ports/x86.h
index 8c18448..cf1c3e6 100644
--- a/aom_ports/x86.h
+++ b/aom_ports/x86.h
@@ -236,7 +236,7 @@
// x86_readtsc directly, but prevent the CPU's out-of-order execution from
// affecting the measurement (by having earlier/later instructions be evaluated
// in the time interval). See the white paper, "How to Benchmark Code
-// Execution Times on Intel® IA-32 and IA-64 Instruction Set Architectures" by
+// Execution Times on Intel(R) IA-32 and IA-64 Instruction Set Architectures" by
// Gabriele Paoloni for more information.
//
// If you are timing a large function (CPU time > a couple of seconds), use
diff --git a/av1/av1_dx_iface.c b/av1/av1_dx_iface.c
index a9ae27e..888060c 100644
--- a/av1/av1_dx_iface.c
+++ b/av1/av1_dx_iface.c
@@ -155,7 +155,7 @@
if (equal_picture_interval) {
const uint32_t num_ticks_per_picture_minus_1 = aom_rb_read_uvlc(rb);
if (num_ticks_per_picture_minus_1 == UINT32_MAX) {
- // num_ticks_per_picture_minus_1 cannot be (1 << 32) − 1.
+ // num_ticks_per_picture_minus_1 cannot be (1 << 32) - 1.
return AOM_CODEC_UNSUP_BITSTREAM;
}
}
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index f85375b..2aa7c84 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -4131,7 +4131,7 @@
if (num_ticks_per_picture_minus_1 == UINT32_MAX) {
aom_internal_error(
error, AOM_CODEC_UNSUP_BITSTREAM,
- "num_ticks_per_picture_minus_1 cannot be (1 << 32) − 1.");
+ "num_ticks_per_picture_minus_1 cannot be (1 << 32) - 1.");
}
timing_info->num_ticks_per_picture = num_ticks_per_picture_minus_1 + 1;
}