[Paraview] git master and latest ffmpeg

Sven Buijssen sven.buijssen at tu-dortmund.de
Thu Apr 29 07:46:17 EDT 2010


Hi,

When upgrading ffmpeg to svn22965 or newer, ParaView git master does not
compile against it any more. The ffmpeg commit in question is revision
22965:

> commit 346f2bc2656e7f23b7fbf14563c017b49108d888:
> Author: rbultje <rbultje at 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
> Date:   Mon Apr 26 13:36:17 2010 +0000
>
>     Fix broken 32-bit clipping, and write numbers in hex instead of
>     Decimal so they are easier to understand. Also give the add a 'u'
>     postfix to silence a pre-c99 compiler warning.
>
>     git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22965
9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
>
> M       libavutil/common.h


The issue, a remedy and the motivation of the ffmpeg developers has been
reported e.g. on
http://lists.links2linux.de/pipermail/packman/2010-April/008352.html

I guess VTK/CMake/vtkTestFFMPEG.cmake needs to be patched to somehow add
-D__STDC_CONSTANT_MACROS to compile flags in order to be able to use the
latest ffmpeg version.

Sven


More information about the ParaView mailing list