Fix precission typos
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Jan 2015 21:42:42 +0000 (22:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Jan 2015 21:42:42 +0000 (22:42 +0100)
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
libavcodec/mpegvideo_enc.c

index 0a392747cd3097a8cab4f6727bde810d5947597d..2501e2c6a768da16f7ba5d8db87b3ffa29d56b08 100644 (file)
--- 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) {
index 1a62ef1b365fe7f9d5395408ba565b807d149d83..d03b57e558ca6dc8ba3dce79c02641854f1820b9 100644 (file)
@@ -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)