From 70d56fc1262d7e2f47677a2501d220b5d1a6e74f Mon Sep 17 00:00:00 2001 From: Carlo Bramini Date: Tue, 5 Jun 2012 11:54:55 +0300 Subject: Added missing ifdef AVCODEC_HAS_REORDERED_OPAQUE --- src/combined/ffmpeg/ff_video_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3