shithub: dav1d

Download patch

ref: 790dd3538cf7d06bbd3112f3299b6a7c438bb2b4
parent: 1233786034f8225fd4dc27acee54af4f70905b37
author: Michael Bradshaw <mjbshaw@google.com>
date: Wed Nov 21 14:04:25 EST 2018

Fix some minor typos

--- a/include/dav1d/data.h
+++ b/include/dav1d/data.h
@@ -45,7 +45,7 @@
  * @param data Input context.
  * @param   sz Size of the data that should be allocated.
  *
- * @return Pointer to the allocated bufferon success. NULL on error.
+ * @return Pointer to the allocated buffer on success. NULL on error.
  */
 DAV1D_API uint8_t * dav1d_data_create(Dav1dData *data, size_t sz);
 
--- a/include/dav1d/picture.h
+++ b/include/dav1d/picture.h
@@ -174,7 +174,7 @@
     /**
      * Allocate the picture buffer based on the Dav1dPictureParameters.
      *
-     * The data[0], data[1] and data[2] must be 32 bits aligned and with a
+     * The data[0], data[1] and data[2] must be 32 byte aligned and with a
      * pixel width/height multiple of 128 pixels.
      * data[1] and data[2] must share the same stride[1].
      *