aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/texturedspenc.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-21 21:55:20 +0200
committerClément Bœsch <u@pkh.me>2016-06-21 21:55:34 +0200
commit8ef57a0d6154119e1a616dd8c29e8c32e35808a0 (patch)
tree26c51bc5d99260b44ba3a2585091ca764559f939 /libavcodec/texturedspenc.c
parent373b82066cd4d0c7f42af9b03e8cdc1085e1a6e5 (diff)
parent41ed7ab45fc693f7d7fc35664c0233f4c32d69bb (diff)
downloadffmpeg-8ef57a0d6154119e1a616dd8c29e8c32e35808a0.tar.gz
Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/texturedspenc.c')
-rw-r--r--libavcodec/texturedspenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/texturedspenc.c b/libavcodec/texturedspenc.c
index 7160396fae..36506a6b55 100644
--- a/libavcodec/texturedspenc.c
+++ b/libavcodec/texturedspenc.c
@@ -213,7 +213,7 @@ static unsigned int match_colors(const uint8_t *block, ptrdiff_t stride,
* the same inside that subinterval.
*
* Relying on this 1d approximation isn't always optimal in terms of
- * euclidean distance, but it's very close and a lot faster.
+ * Euclidean distance, but it's very close and a lot faster.
*
* http://cbloomrants.blogspot.com/2008/12/12-08-08-dxtc-summary.html */
c0_point = (stops[1] + stops[3]) >> 1;
@@ -309,7 +309,7 @@ static void optimize_colors(const uint8_t *block, ptrdiff_t stride,
if (fabs(vfb) > magn)
magn = fabs(vfb);
- /* if magnitudo is too small, default to luminance */
+ /* if magnitude is too small, default to luminance */
if (magn < 4.0f) {
/* JPEG YCbCr luma coefs, scaled by 1000 */
v_r = 299;