[FFmpeg-cvslog] Fix references to deleted avcodec_encode_video() function

Vittorio Giovara git at videolan.org
Tue Sep 17 10:54:43 CEST 2013


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Sep 10 12:31:46 2013 +0200| [187105ff8a02bafc9c58d9d8363bb3f55a415635] | committer: Diego Biurrun

Fix references to deleted avcodec_encode_video() function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=187105ff8a02bafc9c58d9d8363bb3f55a415635
---

 configure              |    2 +-
 libavcodec/mpegvideo.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index e6f8b52..b95e4ac 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 307ed5f..81e3d2b 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 */



More information about the ffmpeg-cvslog mailing list