diff options
author | Carlo Bramini <carlo.bramix@libero.it> | 2012-06-05 11:54:55 +0300 |
---|---|---|
committer | Carlo Bramini <carlo.bramix@libero.it> | 2012-06-05 11:54:55 +0300 |
commit | 70d56fc1262d7e2f47677a2501d220b5d1a6e74f (patch) | |
tree | 3616d6520b3a70f4d937237f0c07e4fe76076fa2 | |
parent | 589cd12c0ba1294f9d36358a07f0d782de09415e (diff) | |
download | xine-lib-70d56fc1262d7e2f47677a2501d220b5d1a6e74f.tar.gz xine-lib-70d56fc1262d7e2f47677a2501d220b5d1a6e74f.tar.bz2 |
Added missing ifdef AVCODEC_HAS_REORDERED_OPAQUE
-rw-r--r-- | src/combined/ffmpeg/ff_video_decoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c index ecd59ab80..8693f0e67 100644 --- a/src/combined/ffmpeg/ff_video_decoder.c +++ b/src/combined/ffmpeg/ff_video_decoder.c @@ -470,9 +470,10 @@ static void init_video_codec (ff_video_decoder_t *this, unsigned int codec_type) break; } +#ifdef AVCODEC_HAS_REORDERED_OPAQUE /* dont want initial AV_NOPTS_VALUE here */ this->context->reordered_opaque = 0; - +#endif } static void choose_speed_over_accuracy_cb(void *user_data, xine_cfg_entry_t *entry) { |