diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 4d471c0362..a456819b2a 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -275,7 +275,7 @@ static int get_siz(Jpeg2000DecoderContext *s) s->cdy[i] = bytestream2_get_byteu(&s->g); if ( !s->cdx[i] || s->cdx[i] == 3 || s->cdx[i] > 4 || !s->cdy[i] || s->cdy[i] == 3 || s->cdy[i] > 4) { - av_log(s->avctx, AV_LOG_ERROR, "Invalid sample seperation %d/%d\n", s->cdx[i], s->cdy[i]); + av_log(s->avctx, AV_LOG_ERROR, "Invalid sample separation %d/%d\n", s->cdx[i], s->cdy[i]); return AVERROR_INVALIDDATA; } log2_chroma_wh |= s->cdy[i] >> 1 << i * 4 | s->cdx[i] >> 1 << i * 4 + 2; diff --git a/libavcodec/tiff_common.h b/libavcodec/tiff_common.h index 2e08caf2f6..2a2cb3f8e6 100644 --- a/libavcodec/tiff_common.h +++ b/libavcodec/tiff_common.h @@ -80,22 +80,22 @@ double ff_tget_double(GetByteContext *gb, int le); unsigned ff_tget(GetByteContext *gb, int type, int le); /** Returns an allocated string containing count - * rational values using the given seperator. + * rational values using the given separator. */ char *ff_trationals2str(int *rp, int count, const char *sep); /** Returns an allocated string containing count - * long values using the given seperator. + * long values using the given separator. */ char *ff_tlongs2str(int32_t *lp, int count, const char *sep); /** Returns an allocated string containing count - * double values using the given seperator. + * double values using the given separator. */ char *ff_tdoubles2str(double *dp, int count, const char *sep); /** Returns an allocated string containing count - * short values using the given seperator. + * short values using the given separator. */ char *ff_tshorts2str(int16_t *sp, int count, const char *sep);