Browse Source

Merge commit '187105ff8a02bafc9c58d9d8363bb3f55a415635'

* commit '187105ff8a02bafc9c58d9d8363bb3f55a415635':
  Fix references to deleted avcodec_encode_video() function

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
ff4548f223
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      configure
  2. +1
    -1
      libavcodec/mpegvideo.h

+ 1
- 1
configure View File

@@ -4400,7 +4400,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


+ 1
- 1
libavcodec/mpegvideo.h View File

@@ -304,7 +304,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