Bug#614471:

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Feb 22 08:38:51 UTC 2011


reassign 614471 ffmpeg
thanks

> [ 29%] Building CXX object VTK/IO/CMakeFiles/vtkIO.dir/vtkPostgreSQLQuery.cxx.o
> In file included from /usr/include/libavutil/avutil.h:81,
>                  from /usr/include/libavcodec/avcodec.h:30,
>                  from /usr/include/libavformat/avformat.h:56,
>                  from /build/user-paraview_3.8.1-2-amd64-4Wj_N7/paraview-3.8.1/VTK/IO/vtkFFMPEGWriter.cxx:27:
> /usr/include/libavutil/common.h: In function 'int32_t av_clipl_int32(int64_t)':
> /usr/include/libavutil/common.h:154: error: 'UINT64_C' was not declared in this scope

Clearly the issue is in the libavutil.h code (not in paraview)


/**
 * Clips a signed 64-bit integer value into the -2147483648,2147483647 range.
 * @param a value to clip
 * @return clipped value
 */
static inline av_const int32_t av_clipl_int32(int64_t a)
{
    if ((a+0x80000000u) & ~UINT64_C(0xFFFFFFFF)) return (a>>63) ^ 0x7FFFFFFF;
    else                                         return a;
}


Thanks





More information about the debian-science-maintainers mailing list