aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-16 22:42:42 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-16 22:42:42 +0100
commitf96148913b310c16302eb9a50f480d6e46fc04e5 (patch)
tree111f2bf583148b3dc461b06fe408f0123e8890ea
parenta46a23d30fea9c8a5570e07ec4d9c9b4eaa6eb4f (diff)
downloadffmpeg-f96148913b310c16302eb9a50f480d6e46fc04e5.tar.gz
Fix precission typos
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
-rw-r--r--libavcodec/mpegvideo_enc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0a392747cd..2501e2c6a7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1241,7 +1241,7 @@ static int reap_filters(void)
filtered_frame = ost->filtered_frame;
while (1) {
- double float_pts = AV_NOPTS_VALUE; // this is identical to filtered_frame.pts but with higher precission
+ double float_pts = AV_NOPTS_VALUE; // this is identical to filtered_frame.pts but with higher precision
ret = av_buffersink_get_frame_flags(filter, filtered_frame,
AV_BUFFERSINK_FLAG_NO_REQUEST);
if (ret < 0) {
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 1a62ef1b36..d03b57e558 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -342,7 +342,7 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx)
s->rtp_mode = !!avctx->rtp_payload_size;
s->intra_dc_precision = avctx->intra_dc_precision;
- // workaround some differences between how applications specify dc precission
+ // workaround some differences between how applications specify dc precision
if (s->intra_dc_precision < 0) {
s->intra_dc_precision += 8;
} else if (s->intra_dc_precision >= 8)