From Martin von Gagern, build fix for latest ffmpeg changes

This commit is contained in:
Robert Osfield 2011-02-10 12:23:18 +00:00
parent bd13580ff5
commit 310a28dbee

View File

@ -6,6 +6,7 @@
extern "C" extern "C"
{ {
#define __STDC_CONSTANT_MACROS #define __STDC_CONSTANT_MACROS
#define FF_API_OLD_SAMPLE_FMT 0
#include <errno.h> // for error codes defined in avformat.h #include <errno.h> // for error codes defined in avformat.h
#include <stdint.h> #include <stdint.h>
#include <avcodec.h> #include <avcodec.h>