diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-21 21:55:20 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-06-21 21:55:34 +0200 |
commit | 8ef57a0d6154119e1a616dd8c29e8c32e35808a0 (patch) | |
tree | 26c51bc5d99260b44ba3a2585091ca764559f939 /libavcodec/exr.c | |
parent | 373b82066cd4d0c7f42af9b03e8cdc1085e1a6e5 (diff) | |
parent | 41ed7ab45fc693f7d7fc35664c0233f4c32d69bb (diff) | |
download | ffmpeg-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/exr.c')
-rw-r--r-- | libavcodec/exr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 1855400662..75ada24333 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -191,13 +191,13 @@ static union av_intfloat32 exr_half2float(uint16_t hf) mantissa <<= 1; exp -= (1 << 23); } - // clamp the mantissa to 10-bits + // clamp the mantissa to 10 bits mantissa &= ((1 << 10) - 1); - // shift left to generate single-precision mantissa of 23-bits + // shift left to generate single-precision mantissa of 23 bits mantissa <<= 13; } } else { - // shift left to generate single-precision mantissa of 23-bits + // shift left to generate single-precision mantissa of 23 bits mantissa <<= 13; // generate single precision biased exponent value exp = (exp << 13) + HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP; @@ -1706,7 +1706,7 @@ static av_cold int decode_init(AVCodecContext *avctx) } } - // allocate thread data, used for non EXR_RAW compreesion types + // allocate thread data, used for non EXR_RAW compression types s->thread_data = av_mallocz_array(avctx->thread_count, sizeof(EXRThreadData)); if (!s->thread_data) return AVERROR_INVALIDDATA; @@ -1718,7 +1718,7 @@ static av_cold int decode_init(AVCodecContext *avctx) static int decode_init_thread_copy(AVCodecContext *avctx) { EXRContext *s = avctx->priv_data; - // allocate thread data, used for non EXR_RAW compreesion types + // allocate thread data, used for non EXR_RAW compression types s->thread_data = av_mallocz_array(avctx->thread_count, sizeof(EXRThreadData)); if (!s->thread_data) return AVERROR_INVALIDDATA; |