Fix references to deleted avcodec_encode_video() function

pull/36/head
Vittorio Giovara 11 years ago committed by Diego Biurrun
parent 85e8192b85
commit 187105ff8a
  1. 2
      configure
  2. 2
      libavcodec/mpegvideo.h

2
configure vendored

@ -3893,7 +3893,7 @@ enabled xmm_clobber_test &&
-Wl,--wrap,avcodec_decode_video2 \ -Wl,--wrap,avcodec_decode_video2 \
-Wl,--wrap,avcodec_decode_subtitle2 \ -Wl,--wrap,avcodec_decode_subtitle2 \
-Wl,--wrap,avcodec_encode_audio2 \ -Wl,--wrap,avcodec_encode_audio2 \
-Wl,--wrap,avcodec_encode_video \ -Wl,--wrap,avcodec_encode_video2 \
-Wl,--wrap,avcodec_encode_subtitle \ -Wl,--wrap,avcodec_encode_subtitle \
-Wl,--wrap,sws_scale || -Wl,--wrap,sws_scale ||
disable xmm_clobber_test disable xmm_clobber_test

@ -295,7 +295,7 @@ typedef struct MpegEncContext {
/* WARNING: changes above this line require updates to hardcoded /* WARNING: changes above this line require updates to hardcoded
* offsets used in asm. */ * 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 * pts difference between the first and second input frame, used for
* calculating dts of the first frame when there's a delay */ * calculating dts of the first frame when there's a delay */

Loading…
Cancel
Save