summaryrefslogtreecommitdiffstats
path: root/video/mp_image.c
diff options
context:
space:
mode:
authorAlexander Seiler <seileralex@gmail.com>2023-03-28 17:16:42 +0200
committerDudemanguy <random342@airmail.cc>2023-03-28 19:29:44 +0000
commitbdf7b5c3b81033a61e218808a95fd3144f20d993 (patch)
tree619c4a9ad0da5c5c274d52c65d0e0bdc6306dbec /video/mp_image.c
parent292a5868cb60c481ae9eaed7d21e67dcff41938f (diff)
downloadmpv-bdf7b5c3b81033a61e218808a95fd3144f20d993.tar.bz2
mpv-bdf7b5c3b81033a61e218808a95fd3144f20d993.tar.xz
various: fix various typos in the code base
Signed-off-by: Alexander Seiler <seileralex@gmail.com>
Diffstat (limited to 'video/mp_image.c')
-rw-r--r--video/mp_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/mp_image.c b/video/mp_image.c
index c061cb6a16..bc29d298e2 100644
--- a/video/mp_image.c
+++ b/video/mp_image.c
@@ -136,7 +136,7 @@ static bool mp_image_fill_alloc(struct mp_image *mpi, int stride_align,
// The allocated size of buffer must be given by buffer_size. buffer_size should
// be at least the value returned by mp_image_get_alloc_size(). If buffer is not
// already aligned to stride_align, the function will attempt to align the
-// pointer itself by incrementing the buffer pointer until ther alignment is
+// pointer itself by incrementing the buffer pointer until their alignment is
// achieved (if buffer_size is not large enough to allow aligning the buffer
// safely, the function fails). To be safe, you may want to overallocate the
// buffer by stride_align bytes, and include the overallocation in buffer_size.
@@ -939,7 +939,7 @@ void mp_image_params_guess_csp(struct mp_image_params *params)
if (params->color.light == MP_CSP_LIGHT_AUTO) {
// HLG is always scene-referred (using its own OOTF), everything else
- // we assume is display-refered by default.
+ // we assume is display-referred by default.
if (params->color.gamma == MP_CSP_TRC_HLG) {
params->color.light = MP_CSP_LIGHT_SCENE_HLG;
} else {