summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-13 23:08:01 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-21 23:58:47 +0200
commitc8a6eb58d7ebc9c1585bc450aa9e0358f6822df0 (patch)
treec3619e2140d1898728205de4824ab963e49b1a85 /libavcodec
parent5db3c9476c79099ef8c2eeea01f8c6ea4bc66b07 (diff)
doc: fix spelling errors
Thanks to Mathieu Malaterre <malat@debian.org> for reporting the Que/Queue typo. (https://bugs.debian.org/839542) Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aaccoder_twoloop.h2
-rw-r--r--libavcodec/cabac.c2
-rw-r--r--libavcodec/ffjni.c2
-rw-r--r--libavcodec/mediacodec_wrapper.h2
-rw-r--r--libavcodec/psymodel.h2
-rw-r--r--libavcodec/x86/vp9lpf_16bpp.asm2
6 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/aaccoder_twoloop.h b/libavcodec/aaccoder_twoloop.h
index fb9849e317..f175c5f8b8 100644
--- a/libavcodec/aaccoder_twoloop.h
+++ b/libavcodec/aaccoder_twoloop.h
@@ -87,7 +87,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
* will keep iterating until it fails to lower it or it reaches
* ulimit * rdlambda. Keeping it low increases quality on difficult
* signals, but lower it too much, and bits will be taken from weak
- * signals, creating "holes". A balance is necesary.
+ * signals, creating "holes". A balance is necessary.
* rdmax and rdmin specify the relative deviation from rdlambda
* allowed for tonality compensation
*/
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index c0abe834cf..dd2b057c6d 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -182,7 +182,7 @@ int ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size){
#if CABAC_BITS == 16
c->low = (*c->bytestream++)<<18;
c->low+= (*c->bytestream++)<<10;
- // Keep our fetches on a 2-byte boundry as this should avoid ever having to
+ // Keep our fetches on a 2-byte boundary as this should avoid ever having to
// do unaligned loads if the compiler (or asm) optimises the double byte
// load into a single instruction
if(((uintptr_t)c->bytestream & 1) == 0) {
diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c
index 0597400ba6..3f4c380673 100644
--- a/libavcodec/ffjni.c
+++ b/libavcodec/ffjni.c
@@ -224,7 +224,7 @@ int ff_jni_exception_get_summary(JNIEnv *env, jthrowable exception, char **error
} else if (!name && message) {
av_bprintf(&bp, "Exception: %s", message);
} else {
- av_log(log_ctx, AV_LOG_WARNING, "Could not retreive exception name and message\n");
+ av_log(log_ctx, AV_LOG_WARNING, "Could not retrieve exception name and message\n");
av_bprintf(&bp, "Exception occurred");
}
diff --git a/libavcodec/mediacodec_wrapper.h b/libavcodec/mediacodec_wrapper.h
index cddd420c26..1b4f3a9492 100644
--- a/libavcodec/mediacodec_wrapper.h
+++ b/libavcodec/mediacodec_wrapper.h
@@ -44,7 +44,7 @@
* implementation.
*
* The API around MediaCodecList is not part of the NDK (and is lacking as
- * we still need to retreive the codec name to work around faulty decoders
+ * we still need to retrieve the codec name to work around faulty decoders
* and encoders).
*
* For documentation, please refers to NdkMediaCodec.h NdkMediaFormat.h and
diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h
index 35d184c710..582f040c7a 100644
--- a/libavcodec/psymodel.h
+++ b/libavcodec/psymodel.h
@@ -29,7 +29,7 @@
/** maximum number of channels */
#define PSY_MAX_CHANS 20
-/* cutoff for VBR is purposedly increased, since LP filtering actually
+/* cutoff for VBR is purposely increased, since LP filtering actually
* hinders VBR performance rather than the opposite
*/
#define AAC_CUTOFF_FROM_BITRATE(bit_rate,channels,sample_rate) (bit_rate ? FFMIN3(FFMIN3( \
diff --git a/libavcodec/x86/vp9lpf_16bpp.asm b/libavcodec/x86/vp9lpf_16bpp.asm
index c15437b8ba..c0888170c9 100644
--- a/libavcodec/x86/vp9lpf_16bpp.asm
+++ b/libavcodec/x86/vp9lpf_16bpp.asm
@@ -78,7 +78,7 @@ SECTION .text
%endif
%endmacro
-; calulate p or q portion of flat8out
+; calculate p or q portion of flat8out
%macro FLAT8OUT_HALF 0
psubw m4, m0 ; q4-q0
psubw m5, m0 ; q5-q0