From: Carlo B. <car...@li...> - 2012-06-05 09:29:30
|
# HG changeset patch # User Carlo Bramini <car...@li...> # Date 1338886495 -10800 # Node ID 26c086d939445425254d254a03c40e0705b7c568 # Branch default # Parent 14797729b79627a2cd7e3a88771593b85b5f6262 Added missing ifdef AVCODEC_HAS_REORDERED_OPAQUE diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c --- a/src/combined/ffmpeg/ff_video_decoder.c +++ b/src/combined/ffmpeg/ff_video_decoder.c @@ -470,9 +470,10 @@ 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) { |