Originally committed as revision 16589 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini authored on 2009/01/14 08:36:06... | ... |
@@ -28,13 +28,14 @@ |
28 | 28 |
#include <string.h> |
29 | 29 |
#include <strings.h> |
30 | 30 |
#include <stdlib.h> |
31 |
-#include "libavutil/random.h" |
|
32 |
-#include "libavutil/avstring.h" |
|
31 |
+/* avformat.h defines LIBAVFORMAT_BUILD, include it before all the other libav* headers which use it */ |
|
33 | 32 |
#include "libavformat/avformat.h" |
34 | 33 |
#include "libavformat/network.h" |
35 | 34 |
#include "libavformat/os_support.h" |
36 | 35 |
#include "libavformat/rtp.h" |
37 | 36 |
#include "libavformat/rtsp.h" |
37 |
+#include "libavutil/avstring.h" |
|
38 |
+#include "libavutil/random.h" |
|
38 | 39 |
#include "libavcodec/opt.h" |
39 | 40 |
#include <stdarg.h> |
40 | 41 |
#include <unistd.h> |