aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-01-04 19:12:08 +0000
committerPaul B Mahol <onemda@gmail.com>2013-01-04 19:24:37 +0000
commitd885cc41e526284a1534e8c689175fe6ffba60e0 (patch)
treeaf0bb4165a5b9e0ddd8181bb8f4ae15754a42359 /libavcodec
parent467c033858a855c21b8378599923119e9414b72c (diff)
downloadffmpeg-d885cc41e526284a1534e8c689175fe6ffba60e0.tar.gz
Fix "knwon" typo and add a check in tools/patcheck
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/alsdec.c2
-rw-r--r--libavcodec/mjpegdec.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index e86177a71c..9d80ea9440 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -308,7 +308,7 @@ static av_cold int read_specific_config(ALSDecContext *ctx)
skip_bits_long(&gb, 32); // sample rate already known
sconf->samples = get_bits_long(&gb, 32);
avctx->channels = m4ac.channels;
- skip_bits(&gb, 16); // number of channels already knwon
+ skip_bits(&gb, 16); // number of channels already known
skip_bits(&gb, 3); // skip file_type
sconf->resolution = get_bits(&gb, 3);
sconf->floating = get_bits1(&gb);
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index c62df72867..feb2f897a5 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1423,9 +1423,9 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
av_log(s->avctx, AV_LOG_INFO,
"Pegasus lossless jpeg header found\n");
skip_bits(&s->gb, 16); /* version ? */
- skip_bits(&s->gb, 16); /* unknwon always 0? */
- skip_bits(&s->gb, 16); /* unknwon always 0? */
- skip_bits(&s->gb, 16); /* unknwon always 0? */
+ skip_bits(&s->gb, 16); /* unknown always 0? */
+ skip_bits(&s->gb, 16); /* unknown always 0? */
+ skip_bits(&s->gb, 16); /* unknown always 0? */
switch (get_bits(&s->gb, 8)) {
case 1:
s->rgb = 1;