http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html
Compile the sample code:
Adding -D__STDC_CONSTANT_MACROS to the compilation flags (USERFLAGS) solves the UINT64_c problem.
gcc -o avcodec_sample avcodec_sample.c -I/home/frank/exercise/x86_buildout/include -L/home/frank/exercise/x86_buildout/lib -lavformat -lavcodec -lavutil -lz -D__STDC_CONSTANT_MACROS -L/usr/lib -lm -lbz2