We now have a current svn snapshot of libqxt in our contrib dir, and
[quassel.git] / src / contrib / libqxt-2007-10-24 / config.tests / ffmpeg / main.cpp
1 #include <QObject>
2 #ifndef INT64_C
3         #define INT64_C Q_INT64_C
4 #endif
5
6
7
8 #include <ffmpeg/avcodec.h>
9 #include <ffmpeg/avformat.h>
10
11
12 int main (int,char**)
13         {
14         av_register_all();
15         avcodec_init();
16         avcodec_register_all();
17
18         if(LIBAVCODEC_VERSION_INT>>16!=51)
19                 {
20                 qDebug("incompatible major version %i",LIBAVCODEC_VERSION_INT>>16);
21                 return 3;
22                 }
23         return 0;
24         }
25
26