dont include opt.h in avcodec.h
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Sep 2005 18:24:48 +0000 (18:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Sep 2005 18:24:48 +0000 (18:24 +0000)
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c
libavcodec/avcodec.h
libavcodec/opt.c
libavcodec/utils.c

index 70372af..7eed04f 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -21,6 +21,7 @@
 #include "avformat.h"
 #include "framehook.h"
 #include "dsputil.h"
+#include "opt.h"
 
 #ifndef CONFIG_WIN32
 #include <unistd.h>
index 826329f..82a1984 100644 (file)
@@ -12,7 +12,6 @@ extern "C" {
 #endif
 
 #include "avutil.h"
-#include "opt.h"
 #include <sys/types.h> /* size_t */
 
 //FIXME the following 2 really dont belong in here
@@ -682,7 +681,7 @@ struct AVCLASS {
                                        or AVFormatContext, which begin with an AVClass.
                                        Needed because av_log is in libavcodec and has no visibility
                                        of AVIn/OutputFormat */
-    AVOption *option;
+    struct AVOption *option;
 };
 
 /**
index 8077054..8934c23 100644 (file)
@@ -25,6 +25,7 @@
  */
  
 #include "avcodec.h"
+#include "opt.h"
  
 static double av_parse_num(const char *name, char **tail){
     double d;
index 3eb1e60..8fc275b 100644 (file)
@@ -28,6 +28,7 @@
 #include "dsputil.h"
 #include "mpegvideo.h"
 #include "integer.h"
+#include "opt.h"
 #include <stdarg.h>
 #include <limits.h>
 #include <float.h>