diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-06-28 17:24:26 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-29 02:31:16 +0200 |
commit | a9bbf59be73264ed63b08b67024cd04720dd1f43 (patch) | |
tree | 6f849d011c7a7b801b42dba60358cb5fae185398 /libavcodec | |
parent | fc736a99eae194c85fe344a4db895c1cd3493d45 (diff) | |
download | ffmpeg-a9bbf59be73264ed63b08b67024cd04720dd1f43.tar.gz |
cosmetics: Fix "dont" "wont" "doesnt" typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bmp.c | 2 | ||||
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index a3bb1a77d7..39d9f80385 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -244,7 +244,7 @@ static int bmp_decode_frame(AVCodecContext *avctx, // OS/2 bitmap, 3 bytes per palette entry if ((hsize-ihsize-14) < (colors << 2)) { if ((hsize-ihsize-14) < colors * 3) { - av_log(avctx, AV_LOG_ERROR, "palette doesnt fit in packet\n"); + av_log(avctx, AV_LOG_ERROR, "palette doesn't fit in packet\n"); return AVERROR_INVALIDDATA; } for (i = 0; i < colors; i++) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index e872035e39..6da531c658 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -148,7 +148,7 @@ static int get_pix_fmt_score(enum AVPixelFormat dst_pix_fmt, loss |= FF_LOSS_RESOLUTION; score -= 256 << dst_desc->log2_chroma_h; } - // dont favor 422 over 420 if downsampling is needed, because 420 has much better support on the decoder side + // don't favor 422 over 420 if downsampling is needed, because 420 has much better support on the decoder side if (dst_desc->log2_chroma_w == 1 && src_desc->log2_chroma_w == 0 && dst_desc->log2_chroma_h == 1 && src_desc->log2_chroma_h == 0 ) { score += 512; |