diff --git a/configure b/configure
index e6f8b529a388fd5fe78b51b0e74bbda8841c18d8..b95e4acfa9d0f6f46d851e04473b105bcd30e996 100755
--- a/configure
+++ b/configure
@@ -3893,7 +3893,7 @@ enabled xmm_clobber_test &&
                   -Wl,--wrap,avcodec_decode_video2      \
                   -Wl,--wrap,avcodec_decode_subtitle2   \
                   -Wl,--wrap,avcodec_encode_audio2      \
-                  -Wl,--wrap,avcodec_encode_video       \
+                  -Wl,--wrap,avcodec_encode_video2      \
                   -Wl,--wrap,avcodec_encode_subtitle    \
                   -Wl,--wrap,sws_scale ||
     disable xmm_clobber_test
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 307ed5fdd16dfee2b3fe20daf1a0f1ea37682ad0..81e3d2b9ae57d09d005b389d5a04e5ad44bbbb7d 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -295,7 +295,7 @@ typedef struct MpegEncContext {
     /* WARNING: changes above this line require updates to hardcoded
      *          offsets used in asm. */
 
-    int64_t user_specified_pts;///< last non zero pts from AVFrame which was passed into avcodec_encode_video()
+    int64_t user_specified_pts; ///< last non-zero pts from AVFrame which was passed into avcodec_encode_video2()
     /**
      * pts difference between the first and second input frame, used for
      * calculating dts of the first frame when there's a delay */